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 #255 background imageLoading...
Page #255 background image
UM1581
Inter-integrated circuit interface (I2C)
DocID023800 Rev 1
255/584
Return values
ï‚· None.
Notes
ï‚· None.
13.2.9.6 I2C_ITConfig
Function Name
void I2C_ITConfig ( I2C_TypeDef * I2Cx, uint32_t I2C_IT,
FunctionalState NewState)
Function Description
Enables or disables the specified I2C interrupts.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· I2C_IT : specifies the I2C interrupts sources to be enabled or
disabled. This parameter can be any combination of the
following values:
 I2C_IT_ERRI : Error interrupt mask
 I2C_IT_TCI : Transfer Complete interrupt mask
 I2C_IT_STOPI : Stop Detection interrupt mask
 I2C_IT_NACKI : Not Acknowledge received interrupt
mask
 I2C_IT_ADDRI : Address Match interrupt mask
 I2C_IT_RXI : RX interrupt mask
 I2C_IT_TXI : TX interrupt mask
ï‚· NewState : new state of the specified I2C interrupts. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
13.2.9.7 I2C_StretchClockCmd
Function Name
void I2C_StretchClockCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Enables or disables the I2C Clock stretching.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2Cx Clock stretching. 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