STM32L486xx HAL User Manual
Functions
DMA Management
SPI Exported Functions

Functions

__STATIC_INLINE void LL_SPI_EnableDMAReq_RX (SPI_TypeDef *SPIx)
 Enable DMA Rx.
__STATIC_INLINE void LL_SPI_DisableDMAReq_RX (SPI_TypeDef *SPIx)
 Disable DMA Rx.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_RX (SPI_TypeDef *SPIx)
 Check if DMA Rx is enabled.
__STATIC_INLINE void LL_SPI_EnableDMAReq_TX (SPI_TypeDef *SPIx)
 Enable DMA Tx.
__STATIC_INLINE void LL_SPI_DisableDMAReq_TX (SPI_TypeDef *SPIx)
 Disable DMA Tx.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_TX (SPI_TypeDef *SPIx)
 Check if DMA Tx is enabled.
__STATIC_INLINE void LL_SPI_SetDMAParity_RX (SPI_TypeDef *SPIx, uint32_t Parity)
 Set parity of Last DMA reception.
__STATIC_INLINE uint32_t LL_SPI_GetDMAParity_RX (SPI_TypeDef *SPIx)
 Get parity configuration for Last DMA reception.
__STATIC_INLINE void LL_SPI_SetDMAParity_TX (SPI_TypeDef *SPIx, uint32_t Parity)
 Set parity of Last DMA transmission.
__STATIC_INLINE uint32_t LL_SPI_GetDMAParity_TX (SPI_TypeDef *SPIx)
 Get parity configuration for Last DMA transmission.
__STATIC_INLINE uint32_t LL_SPI_DMA_GetRegAddr (SPI_TypeDef *SPIx)
 Get the data register address used for DMA transfer.

Function Documentation

__STATIC_INLINE void LL_SPI_DisableDMAReq_RX ( SPI_TypeDef *  SPIx)

Disable DMA Rx.

Reference Manual to LL API cross reference:
CR2 RXDMAEN LL_SPI_DisableDMAReq_RX
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1223 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_DisableDMAReq_TX ( SPI_TypeDef *  SPIx)

Disable DMA Tx.

Reference Manual to LL API cross reference:
CR2 TXDMAEN LL_SPI_DisableDMAReq_TX
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1256 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_DMA_GetRegAddr ( SPI_TypeDef *  SPIx)

Get the data register address used for DMA transfer.

Reference Manual to LL API cross reference:
DR DR LL_SPI_DMA_GetRegAddr
Parameters:
SPIxSPI Instance
Return values:
Addressof data register

Definition at line 1332 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_EnableDMAReq_RX ( SPI_TypeDef *  SPIx)

Enable DMA Rx.

Reference Manual to LL API cross reference:
CR2 RXDMAEN LL_SPI_EnableDMAReq_RX
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1212 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_EnableDMAReq_TX ( SPI_TypeDef *  SPIx)

Enable DMA Tx.

Reference Manual to LL API cross reference:
CR2 TXDMAEN LL_SPI_EnableDMAReq_TX
Parameters:
SPIxSPI Instance
Return values:
None

Definition at line 1245 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_GetDMAParity_RX ( SPI_TypeDef *  SPIx)

Get parity configuration for Last DMA reception.

Reference Manual to LL API cross reference:
CR2 LDMARX LL_SPI_GetDMAParity_RX
Parameters:
SPIxSPI Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1294 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_GetDMAParity_TX ( SPI_TypeDef *  SPIx)

Get parity configuration for Last DMA transmission.

Reference Manual to LL API cross reference:
CR2 LDMATX LL_SPI_GetDMAParity_TX
Parameters:
SPIxSPI Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1321 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_RX ( SPI_TypeDef *  SPIx)

Check if DMA Rx is enabled.

Reference Manual to LL API cross reference:
CR2 RXDMAEN LL_SPI_IsEnabledDMAReq_RX
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1234 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_TX ( SPI_TypeDef *  SPIx)

Check if DMA Tx is enabled.

Reference Manual to LL API cross reference:
CR2 TXDMAEN LL_SPI_IsEnabledDMAReq_TX
Parameters:
SPIxSPI Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1267 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_SetDMAParity_RX ( SPI_TypeDef *  SPIx,
uint32_t  Parity 
)

Set parity of Last DMA reception.

Reference Manual to LL API cross reference:
CR2 LDMARX LL_SPI_SetDMAParity_RX
Parameters:
SPIxSPI Instance
ParityThis parameter can be one of the following values:
Return values:
None

Definition at line 1281 of file stm32l4xx_ll_spi.h.

__STATIC_INLINE void LL_SPI_SetDMAParity_TX ( SPI_TypeDef *  SPIx,
uint32_t  Parity 
)

Set parity of Last DMA transmission.

Reference Manual to LL API cross reference:
CR2 LDMATX LL_SPI_SetDMAParity_TX
Parameters:
SPIxSPI Instance
ParityThis parameter can be one of the following values:
Return values:
None

Definition at line 1308 of file stm32l4xx_ll_spi.h.