EasyManuals Logo

ST STM32F31xx User Manual

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
Page #263 background imageLoading...
Page #263 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals