UM1581
Return values
Notes
13.2.11
SMBUS management functions
13.2.11.1 I2C_SMBusAlertCmd
Function Name
Function Description
Parameters
Return values
Notes
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 :
I2C_AutoEnd_Mode :
I2C_SoftEnd_Mode :
StartStopMode : new state of the I2C START condition
generation. This parameter can be one of the following
values:
I2C_No_StartStop :
condition.
I2C_Generate_Stop :
(Number_Bytes should be set to 0).
I2C_Generate_Start_Read :
request.
I2C_Generate_Start_Write :
request.
None.
None.
void I2C_SMBusAlertCmd (
FunctionalState
NewState)
Enables or disables I2C SMBus alert.
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.
None.
None.
DocID023800 Rev 1
Inter-integrated circuit interface (I2C)
Enable Reload mode .
Enable Automatic end mode.
Enable Software end mode.
Don't Generate stop and start
Generate stop condition
Generate Restart for read
Generate Restart for write
I2C_TypeDef *
I2Cx,
263/584
Need help?
Do you have a question about the STM32F31xx and is the answer not in the manual?