aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2c_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/i2c_lld.h')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.h b/os/hal/platforms/STM32/i2c_lld.h
index c3df51b07..66ee95dd9 100644
--- a/os/hal/platforms/STM32/i2c_lld.h
+++ b/os/hal/platforms/STM32/i2c_lld.h
@@ -163,8 +163,10 @@ struct I2CDriver{
*/
const I2CSlaveConfig *id_slave_config;
- size_t txbytes; /*!< Number of bytes to transmitted. */
- size_t rxbytes; /*!< Number of bytes to received. */
+ size_t txbytes; /*!< Number of bytes to be transmitted. */
+ size_t rxbytes; /*!< Number of bytes to be received. */
+ uint8_t *rxBuffp; /*!< Pointer to the current byte in slave rx buffer. */
+ uint8_t *txBuffp; /*!< Pointer to the current byte in slave tx buffer. */
i2cflags_t errors; /*!< Error flags.*/
i2cflags_t flags; /*!< State flags.*/