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
262/584
DocID023800 Rev 1
Return values
None.
Notes
None.
13.2.10.9 I2C_GetAddressMatched
Function Name
uint8_t I2C_GetAddressMatched ( I2C_TypeDef * I2Cx)
Function Description
Returns the I2C slave matched address .
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Return values
The value of the slave matched address .
Notes
None.
13.2.10.10 I2C_GetTransferDirection
Function Name
uint16_t I2C_GetTransferDirection ( I2C_TypeDef * I2Cx)
Function Description
Returns the I2C slave received request.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Return values
The value of the received request.
Notes
None.
13.2.10.11 I2C_TransferHandling
Function Name
void I2C_TransferHandling ( I2C_TypeDef * I2Cx, uint16_t
Address, uint8_t Number_Bytes, uint32_t ReloadEndMode,
uint32_t StartStopMode)
Function Description
Handles I2Cx communication when starting transfer or during
transfer (TC or TCR flag are set).
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Address : specifies the slave address to be programmed.

Table of Contents

Related product manuals