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 #254 background imageLoading...
Page #254 background image
Inter-integrated circuit interface (I2C)
UM1581
254/584
DocID023800 Rev 1
Notes
ï‚· None.
13.2.9.3 I2C_StructInit
Function Name
void I2C_StructInit ( I2C_InitTypeDef * I2C_InitStruct)
Function Description
Fills each I2C_InitStruct member with its default value.
Parameters
ï‚· I2C_InitStruct : pointer to an I2C_InitTypeDef structure
which will be initialized.
Return values
ï‚· None.
Notes
ï‚· None.
13.2.9.4 I2C_Cmd
Function Name
void I2C_Cmd ( I2C_TypeDef * I2Cx, FunctionalState
NewState)
Function Description
Enables or disables the specified I2C peripheral.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2Cx peripheral. This parameter
can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
13.2.9.5 I2C_SoftwareResetCmd
Function Name
void I2C_SoftwareResetCmd ( I2C_TypeDef * I2Cx)
Function Description
Enables or disables the specified I2C software reset.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.

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