ST STM32F31xx User Manual page 257

Table of Contents

Advertisement

UM1581
Return values
Notes
13.2.9.11 I2C_GeneralCallCmd
Function Name
Function Description
Parameters
Return values
Notes
13.2.9.12 I2C_SlaveByteControlCmd
Function Name
Function Description
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 :
I2C_OA2_Mask01 :
I2C_OA2_Mask02 :
care.
I2C_OA2_Mask03 :
care.
I2C_OA2_Mask04 :
care.
I2C_OA2_Mask05 :
care.
I2C_OA2_Mask06 :
care.
I2C_OA2_Mask07 :
care.
None.
None.
void I2C_GeneralCallCmd (
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.
None.
None.
void I2C_SlaveByteControlCmd (
FunctionalState
NewState)
Enables or disables the I2C slave byte control.
DocID023800 Rev 1
Inter-integrated circuit interface (I2C)
no mask.
OA2[1] is masked and don't care.
OA2[2:1] are masked and don't
OA2[3:1] are masked and don't
OA2[4:1] are masked and don't
OA2[5:1] are masked and don't
OA2[6:1] are masked and don't
OA2[7:1] are masked and don't
I2C_TypeDef *
I2Cx,
I2C_TypeDef *
I2Cx,
257/584

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F31xx and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f30xx

Table of Contents