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
260/584
DocID023800 Rev 1
programmed.
Return values
None.
Notes
None.
13.2.10.4 I2C_MasterRequestConfig
Function Name
void I2C_MasterRequestConfig ( I2C_TypeDef * I2Cx, uint16_t
I2C_Direction)
Function Description
Configures the type of transfer request for the master.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
I2C_Direction : specifies the transfer request direction to be
programmed. This parameter can be one of the following
values:
I2C_Direction_Transmitter : Master request a write
transfer
I2C_Direction_Receiver : Master request a read
transfer
Return values
None.
Notes
None.
13.2.10.5 I2C_GenerateSTART
Function Name
void I2C_GenerateSTART ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Generates I2Cx communication START condition.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
NewState : new state of the I2C START condition
generation. This parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.

Table of Contents

Related product manuals