Inter-integrated circuit interface (I2C)
ï‚· Address : specifies the slave address to be programmed.
ï‚· Mask : specifies own address 2 mask to be programmed.
This parameter can be one of the following values:
ï€ I2C_OA2_NoMask : no mask.
ï€ I2C_OA2_Mask01 : OA2[1] is masked and don't care.
ï€ I2C_OA2_Mask02 : OA2[2:1] are masked and don't
care.
ï€ I2C_OA2_Mask03 : OA2[3:1] are masked and don't
care.
ï€ I2C_OA2_Mask04 : OA2[4:1] are masked and don't
care.
ï€ I2C_OA2_Mask05 : OA2[5:1] are masked and don't
care.
ï€ I2C_OA2_Mask06 : OA2[6:1] are masked and don't
care.
ï€ I2C_OA2_Mask07 : OA2[7:1] are masked and don't
care.
13.2.9.11 I2C_GeneralCallCmd
void I2C_GeneralCallCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Enables or disables the I2C general call mode.
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2C general call mode. This
parameter can be: ENABLE or DISABLE.
13.2.9.12 I2C_SlaveByteControlCmd
void I2C_SlaveByteControlCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Enables or disables the I2C slave byte control.