DMA transfers management functions.
More...
|
void | I2C_DMACmd (I2C_TypeDef *I2Cx, FunctionalState NewState) |
| Enables or disables the specified I2C DMA requests. More...
|
|
void | I2C_DMALastTransferCmd (I2C_TypeDef *I2Cx, FunctionalState NewState) |
| Specifies that the next DMA transfer is the last one. More...
|
|
DMA transfers management functions.
===============================================================================
##### DMA transfers management functions #####
===============================================================================
This section provides functions allowing to configure the I2C DMA channels
requests.
void I2C_DMACmd |
( |
I2C_TypeDef * |
I2Cx, |
|
|
FunctionalState |
NewState |
|
) |
| |
Enables or disables the specified I2C DMA requests.
- Parameters
-
I2Cx | where x can be 1, 2 or 3 to select the I2C peripheral. |
NewState | new state of the I2C DMA transfer. This parameter can be: ENABLE or DISABLE. |
- Return values
-
Definition at line 910 of file stm32f4xx_i2c.c.
void I2C_DMALastTransferCmd |
( |
I2C_TypeDef * |
I2Cx, |
|
|
FunctionalState |
NewState |
|
) |
| |
Specifies that the next DMA transfer is the last one.
- Parameters
-
I2Cx | where x can be 1, 2 or 3 to select the I2C peripheral. |
NewState | new state of the I2C DMA last transfer. This parameter can be: ENABLE or DISABLE. |
- Return values
-
Definition at line 934 of file stm32f4xx_i2c.c.