CARME-M4 BSP
V1.5
|
DMA transfers management functions. More...
Functions | |
void | SPI_I2S_DMACmd (SPI_TypeDef *SPIx, uint16_t SPI_I2S_DMAReq, FunctionalState NewState) |
Enables or disables the SPIx/I2Sx DMA interface. More... | |
DMA transfers management functions.
=============================================================================== ##### DMA transfers management functions ##### ===============================================================================
void SPI_I2S_DMACmd | ( | SPI_TypeDef * | SPIx, |
uint16_t | SPI_I2S_DMAReq, | ||
FunctionalState | NewState | ||
) |
Enables or disables the SPIx/I2Sx DMA interface.
SPIx | To select the SPIx/I2Sx peripheral, where x can be: 1, 2, 3, 4, 5 or 6 in SPI mode or 2 or 3 in I2S mode or I2Sxext for I2S full duplex mode. |
SPI_I2S_DMAReq | specifies the SPI DMA transfer request to be enabled or disabled. This parameter can be any combination of the following values:
|
NewState | new state of the selected SPI DMA transfer request. This parameter can be: ENABLE or DISABLE. |
None |
Definition at line 1009 of file stm32f4xx_spi.c.