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 #268 background imageLoading...
Page #268 background image
Inter-integrated circuit interface (I2C)
UM1581
268/584
DocID023800 Rev 1
13.2.13.2 I2C_ReceiveData
Function Name
uint8_t I2C_ReceiveData ( I2C_TypeDef * I2Cx)
Function Description
Returns the most recent received data by the I2Cx peripheral.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
Return values
ï‚· The value of the received data.
Notes
ï‚· None.
13.2.14 DMA transfers management functions
13.2.14.1 I2C_DMACmd
Function Name
void I2C_DMACmd ( I2C_TypeDef * I2Cx, uint32_t
I2C_DMAReq, FunctionalState NewState)
Function Description
Enables or disables the I2C DMA interface.
Parameters
ï‚· I2Cx : where x can be 1 or 2 to select the I2C peripheral.
ï‚· I2C_DMAReq : specifies the I2C DMA transfer request to be
enabled or disabled. This parameter can be any combination
of the following values:
 I2C_DMAReq_Tx : Tx DMA transfer request
 I2C_DMAReq_Rx : Rx DMA transfer request
ï‚· NewState : new state of the selected I2C DMA transfer
request. This parameter can be: ENABLE or DISABLE.
Return values
ï‚· None.
Notes
ï‚· None.
13.2.15 Interrupts and flags management functions
13.2.15.1 I2C_GetFlagStatus
Function Name
FlagStatus I2C_GetFlagStatus ( I2C_TypeDef * I2Cx, uint32_t
I2C_FLAG)
Function Description
Checks whether the specified I2C flag is set or not.

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