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 #266 background imageLoading...
Page #266 background image
Inter-integrated circuit interface (I2C)
UM1581
266/584
DocID023800 Rev 1
13.2.11.7 I2C_CalculatePEC
Function Name
void I2C_CalculatePEC ( I2C_TypeDef * I2Cx, FunctionalState
NewState)
Function Description
Enables or disables I2C PEC calculation.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2Cx PEC calculation. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
13.2.11.8 I2C_PECRequestCmd
Function Name
void I2C_PECRequestCmd ( I2C_TypeDef * I2Cx,
FunctionalState NewState)
Function Description
Enables or disables I2C PEC transmission/reception request.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2Cx PEC request. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
13.2.11.9 I2C_GetPEC
Function Name
uint8_t I2C_GetPEC ( I2C_TypeDef * I2Cx)
Function Description
Returns the I2C PEC.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Return values
ï‚· The value of the PEC .
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