Inter-integrated circuit interface (I2C)
13.2.10.6 I2C_GenerateSTOP
void I2C_GenerateSTOP ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Generates I2Cx communication STOP condition.
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2C STOP condition generation.
This parameter can be: ENABLE or DISABLE.
13.2.10.7 I2C_10BitAddressHeaderCmd
void I2C_10BitAddressHeaderCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Enables or disables the I2C 10-bit header only mode with read
direction.
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2C 10-bit header only mode.
This parameter can be: ENABLE or DISABLE.
ï‚· This mode can be used only when switching from master
transmitter mode to master receiver mode.
13.2.10.8 I2C_AcknowledgeConfig
void I2C_AcknowledgeConfig ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Generates I2C communication Acknowledge.
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the Acknowledge. This parameter
can be: ENABLE or DISABLE.