Inter-integrated circuit interface (I2C)
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2C slave byte control. This
parameter can be: ENABLE or DISABLE.
13.2.9.13 I2C_SlaveAddressConfig
void I2C_SlaveAddressConfig ( I2C_TypeDef * I2Cx, uint16_t
Address)
Configures the slave address to be transmitted after start
generation.
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· Address : specifies the slave address to be programmed.
ï‚· This function should be called before generating start
condition.
13.2.9.14 I2C_10BitAddressingModeCmd
void I2C_10BitAddressingModeCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Enables or disables the I2C 10-bit addressing mode for the
master.
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2C 10-bit addressing mode.
This parameter can be: ENABLE or DISABLE.
ï‚· This function should be called before generating start
condition.