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
263/584
Number_Bytes : specifies the number of bytes to be
programmed. This parameter must be a value between 0 and
255.
ReloadEndMode : new state of the I2C START condition
generation. This parameter can be one of the following
values:
I2C_Reload_Mode : Enable Reload mode .
I2C_AutoEnd_Mode : Enable Automatic end mode.
I2C_SoftEnd_Mode : Enable Software end mode.
StartStopMode : new state of the I2C START condition
generation. This parameter can be one of the following
values:
I2C_No_StartStop : Don't Generate stop and start
condition.
I2C_Generate_Stop : Generate stop condition
(Number_Bytes should be set to 0).
I2C_Generate_Start_Read : Generate Restart for read
request.
I2C_Generate_Start_Write : Generate Restart for write
request.
Return values
None.
Notes
None.
13.2.11 SMBUS management functions
13.2.11.1 I2C_SMBusAlertCmd
Function Name
void I2C_SMBusAlertCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Enables or disables I2C SMBus alert.
Parameters
I2Cx : where x can be 1 or 2 to select the I2C peripheral.
NewState : new state of the I2Cx SMBus alert. This
parameter can be: ENABLE or DISABLE.
Return values
None.
Notes
None.

Table of Contents

Related product manuals