Inter-integrated circuit interface (I2C)
13.2.11.2 I2C_ClockTimeoutCmd
void I2C_ClockTimeoutCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Enables or disables I2C Clock Timeout (SCL Timeout detection).
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2Cx clock Timeout. This
parameter can be: ENABLE or DISABLE.
13.2.11.3 I2C_ExtendedClockTimeoutCmd
void I2C_ExtendedClockTimeoutCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Enables or disables I2C Extended Clock Timeout (SCL cumulative
Timeout detection).
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2Cx Extended clock Timeout.
This parameter can be: ENABLE or DISABLE.
13.2.11.4 I2C_IdleClockTimeoutCmd
void I2C_IdleClockTimeoutCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Enables or disables I2C Idle Clock Timeout (Bus idle SCL and
SDA high detection).
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2Cx Idle clock Timeout. This
parameter can be: ENABLE or DISABLE.