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...
Inter-integrated circuit interface (I2C)
UM1581
258/584
DocID023800 Rev 1
Parameters
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.
Return values
None.
Notes
None.
13.2.9.13 I2C_SlaveAddressConfig
Function Name
void I2C_SlaveAddressConfig ( I2C_TypeDef * I2Cx, uint16_t
Address)
Function Description
Configures the slave address to be transmitted after start
generation.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Address : specifies the slave address to be programmed.
Return values
None.
Notes
This function should be called before generating start
condition.
13.2.9.14 I2C_10BitAddressingModeCmd
Function Name
void I2C_10BitAddressingModeCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Enables or disables the I2C 10-bit addressing mode for the
master.
Parameters
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.
Return values
None.
Notes
This function should be called before generating start
condition.

Table of Contents

Related product manuals