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
261/584
13.2.10.6 I2C_GenerateSTOP
Function Name
void I2C_GenerateSTOP ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Generates I2Cx communication STOP condition.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
NewState : new state of the I2C STOP condition generation.
This parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.
13.2.10.7 I2C_10BitAddressHeaderCmd
Function Name
void I2C_10BitAddressHeaderCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Enables or disables the I2C 10-bit header only mode with read
direction.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
NewState : new state of the I2C 10-bit header only mode.
This parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
This mode can be used only when switching from master
transmitter mode to master receiver mode.
13.2.10.8 I2C_AcknowledgeConfig
Function Name
void I2C_AcknowledgeConfig ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Generates I2C communication Acknowledge.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
NewState : new state of the Acknowledge. This parameter
can be: ENABLE or DISABLE.

Table of Contents

Related product manuals