Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more
DMA transfers management functions
[I2C_Private_Functions]
  DMA transfers management functions. More...
| Functions | |
| void | I2C_DMACmd (I2C_TypeDef *I2Cx, uint32_t I2C_DMAReq, FunctionalState NewState) | 
| Enables or disables the I2C DMA interface. | |
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:
- 
  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 
Definition at line 1301 of file stm32f30x_i2c.c.
Generated on Tue Jul 12 2022 17:34:45 by
 1.7.2
 1.7.2