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 #259 background imageLoading...
Page #259 background image
UM1581
Inter-integrated circuit interface (I2C)
DocID023800 Rev 1
259/584
13.2.10 Communications handling functions
13.2.10.1 I2C_AutoEndCmd
Function Name
void I2C_AutoEndCmd ( I2C_TypeDef * I2Cx, FunctionalState
NewState)
Function Description
Enables or disables the I2C automatic end mode (stop condition
is automatically sent when nbytes data are transferred).
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the I2C automatic end mode. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· This function has effect if Reload mode is disabled.
13.2.10.2 I2C_ReloadCmd
Function Name
void I2C_ReloadCmd ( I2C_TypeDef * I2Cx, FunctionalState
NewState)
Function Description
Enables or disables the I2C nbytes reload mode.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· NewState : new state of the nbytes reload mode. This
parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
13.2.10.3 I2C_NumberOfBytesConfig
Function Name
void I2C_NumberOfBytesConfig ( I2C_TypeDef * I2Cx, uint8_t
Number_Bytes)
Function Description
Configures the number of bytes to be transmitted/received.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· Number_Bytes : specifies the number of bytes to be

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