Inter-integrated circuit interface (I2C)
13.2.11.5 I2C_TimeoutAConfig
void I2C_TimeoutAConfig ( I2C_TypeDef * I2Cx, uint16_t
Timeout)
Configures the I2C Bus Timeout A (SCL Timeout when TIDLE = 0
or Bus idle SCL and SDA high when TIDLE = 1).
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Timeout : specifies the TimeoutA to be programmed.
13.2.11.6 I2C_TimeoutBConfig
void I2C_TimeoutBConfig ( I2C_TypeDef * I2Cx, uint16_t
Timeout)
Configures the I2C Bus Timeout B (SCL cumulative Timeout).
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Timeout : specifies the TimeoutB to be programmed.