Functions

DMA transfers management functions. More...

Collaboration diagram for DMA transfers management functions:

Functions

void I2C_DMACmd (I2C_TypeDef *I2Cx, uint32_t I2C_DMAReq, FunctionalState NewState)
 Enables or disables the I2C DMA interface. More...
 

Detailed Description

DMA transfers management functions.

 ===============================================================================
               ##### DMA transfers management functions #####
 ===============================================================================  
    [..] This section provides two functions that can be used only in DMA mode.
    [..] In DMA Mode, the I2C communication can be managed by 2 DMA Channel 
         requests:
         (#) I2C_DMAReq_Tx: specifies the Tx buffer DMA transfer request.
         (#) I2C_DMAReq_Rx: specifies the Rx buffer DMA transfer request.
    [..] In this Mode it is advised to use the following function:
         (+) I2C_DMACmd(I2C_TypeDef* I2Cx, uint32_t I2C_DMAReq, FunctionalState NewState);

Function Documentation

void I2C_DMACmd ( I2C_TypeDef I2Cx,
uint32_t  I2C_DMAReq,
FunctionalState  NewState 
)

Enables or disables the I2C DMA interface.

Parameters
I2Cxwhere x can be 1 or 2 to select the I2C peripheral.
I2C_DMAReqspecifies 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
NewStatenew state of the selected I2C DMA transfer request. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 1301 of file stm32f30x_i2c.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:30