27 #if (HAL_USE_I2C == TRUE) || defined(__DOXYGEN__)    40 #if (PLATFORM_I2C_USE_I2C1 == TRUE) || defined(__DOXYGEN__)    67 #if PLATFORM_I2C_USE_I2C1 == TRUE    83 #if PLATFORM_I2C_USE_I2C1 == TRUE   104 #if PLATFORM_I2C_USE_I2C1 == TRUE   105     if (&I2CD1 == i2cp) {
   134                                      uint8_t *rxbuf, 
size_t rxbytes,
   170                                       const uint8_t *txbuf, 
size_t txbytes,
   171                                       uint8_t *rxbuf, 
size_t rxbytes,
 
void i2c_lld_stop(I2CDriver *i2cp)
Deactivates the I2C peripheral. 
 
uint64_t sysinterval_t
Type of time interval. 
 
msg_t i2c_lld_master_transmit_timeout(I2CDriver *i2cp, i2caddr_t addr, const uint8_t *txbuf, size_t txbytes, uint8_t *rxbuf, size_t rxbytes, sysinterval_t timeout)
Transmits data via the I2C bus as master. 
 
void i2cObjectInit(I2CDriver *i2cp)
Initializes the standard part of a I2CDriver structure. 
 
msg_t i2c_lld_master_receive_timeout(I2CDriver *i2cp, i2caddr_t addr, uint8_t *rxbuf, size_t rxbytes, sysinterval_t timeout)
Receives data via the I2C bus as master. 
 
Structure representing an I2C driver. 
 
I2CDriver I2CD1
I2C1 driver identifier. 
 
void i2c_lld_start(I2CDriver *i2cp)
Configures and activates the I2C peripheral. 
 
#define MSG_OK
Normal wakeup message. 
 
void i2c_lld_init(void)
Low level I2C driver initialization. 
 
uint16_t i2caddr_t
Type representing an I2C address. 
 
i2cstate_t state
Driver state.