EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
UM1581
Inter-integrated circuit interface (I2C)
DocID023800 Rev 1
257/584
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.
Return values
None.
Notes
None.
13.2.9.11 I2C_GeneralCallCmd
Function Name
void I2C_GeneralCallCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Enables or disables the I2C general call mode.
Parameters
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.
Return values
None.
Notes
None.
13.2.9.12 I2C_SlaveByteControlCmd
Function Name
void I2C_SlaveByteControlCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Enables or disables the I2C slave byte control.

Table of Contents

Related product manuals