Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
DMA_Management
[SPI Exported Functions]
Functions | |
__STATIC_INLINE void | LL_SPI_EnableDMAReq_RX (SPI_TypeDef *SPIx) |
Enable DMA Rx CR2 RXDMAEN LL_SPI_EnableDMAReq_RX. | |
__STATIC_INLINE void | LL_SPI_DisableDMAReq_RX (SPI_TypeDef *SPIx) |
Disable DMA Rx CR2 RXDMAEN LL_SPI_DisableDMAReq_RX. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledDMAReq_RX (SPI_TypeDef *SPIx) |
Check if DMA Rx is enabled CR2 RXDMAEN LL_SPI_IsEnabledDMAReq_RX. | |
__STATIC_INLINE void | LL_SPI_EnableDMAReq_TX (SPI_TypeDef *SPIx) |
Enable DMA Tx CR2 TXDMAEN LL_SPI_EnableDMAReq_TX. | |
__STATIC_INLINE void | LL_SPI_DisableDMAReq_TX (SPI_TypeDef *SPIx) |
Disable DMA Tx CR2 TXDMAEN LL_SPI_DisableDMAReq_TX. | |
__STATIC_INLINE uint32_t | LL_SPI_IsEnabledDMAReq_TX (SPI_TypeDef *SPIx) |
Check if DMA Tx is enabled CR2 TXDMAEN LL_SPI_IsEnabledDMAReq_TX. | |
__STATIC_INLINE void | LL_SPI_SetDMAParity_RX (SPI_TypeDef *SPIx, uint32_t Parity) |
Set parity of Last DMA reception CR2 LDMARX LL_SPI_SetDMAParity_RX. | |
__STATIC_INLINE uint32_t | LL_SPI_GetDMAParity_RX (SPI_TypeDef *SPIx) |
Get parity configuration for Last DMA reception CR2 LDMARX LL_SPI_GetDMAParity_RX. | |
__STATIC_INLINE void | LL_SPI_SetDMAParity_TX (SPI_TypeDef *SPIx, uint32_t Parity) |
Set parity of Last DMA transmission CR2 LDMATX LL_SPI_SetDMAParity_TX. | |
__STATIC_INLINE uint32_t | LL_SPI_GetDMAParity_TX (SPI_TypeDef *SPIx) |
Get parity configuration for Last DMA transmission CR2 LDMATX LL_SPI_GetDMAParity_TX. | |
__STATIC_INLINE uint32_t | LL_SPI_DMA_GetRegAddr (SPI_TypeDef *SPIx) |
Get the data register address used for DMA transfer DR DR LL_SPI_DMA_GetRegAddr. |
Function Documentation
__STATIC_INLINE void LL_SPI_DisableDMAReq_RX | ( | SPI_TypeDef * | SPIx ) |
Disable DMA Rx CR2 RXDMAEN LL_SPI_DisableDMAReq_RX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1199 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_DisableDMAReq_TX | ( | SPI_TypeDef * | SPIx ) |
Disable DMA Tx CR2 TXDMAEN LL_SPI_DisableDMAReq_TX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1232 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 DR DR LL_SPI_DMA_GetRegAddr.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
Address of data register
Definition at line 1308 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableDMAReq_RX | ( | SPI_TypeDef * | SPIx ) |
Enable DMA Rx CR2 RXDMAEN LL_SPI_EnableDMAReq_RX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1188 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE void LL_SPI_EnableDMAReq_TX | ( | SPI_TypeDef * | SPIx ) |
Enable DMA Tx CR2 TXDMAEN LL_SPI_EnableDMAReq_TX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
None
Definition at line 1221 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetDMAParity_RX | ( | SPI_TypeDef * | SPIx ) |
Get parity configuration for Last DMA reception CR2 LDMARX LL_SPI_GetDMAParity_RX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
Returned value can be one of the following values: - LL_SPI_DMA_PARITY_ODD
- LL_SPI_DMA_PARITY_EVEN
Definition at line 1270 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_GetDMAParity_TX | ( | SPI_TypeDef * | SPIx ) |
Get parity configuration for Last DMA transmission CR2 LDMATX LL_SPI_GetDMAParity_TX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
Returned value can be one of the following values: - LL_SPI_DMA_PARITY_ODD
- LL_SPI_DMA_PARITY_EVEN
Definition at line 1297 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_RX | ( | SPI_TypeDef * | SPIx ) |
Check if DMA Rx is enabled CR2 RXDMAEN LL_SPI_IsEnabledDMAReq_RX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 1210 of file stm32l4xx_ll_spi.h.
__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_TX | ( | SPI_TypeDef * | SPIx ) |
Check if DMA Tx is enabled CR2 TXDMAEN LL_SPI_IsEnabledDMAReq_TX.
- Parameters:
-
SPIx SPI Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 1243 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 CR2 LDMARX LL_SPI_SetDMAParity_RX.
- Parameters:
-
SPIx SPI Instance Parity This parameter can be one of the following values: - LL_SPI_DMA_PARITY_ODD
- LL_SPI_DMA_PARITY_EVEN
- Return values:
-
None
Definition at line 1257 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 CR2 LDMATX LL_SPI_SetDMAParity_TX.
- Parameters:
-
SPIx SPI Instance Parity This parameter can be one of the following values: - LL_SPI_DMA_PARITY_ODD
- LL_SPI_DMA_PARITY_EVEN
- Return values:
-
None
Definition at line 1284 of file stm32l4xx_ll_spi.h.
Generated on Tue Jul 12 2022 11:35:26 by
