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.
Fork of TUKS-COURSE-TIMER 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 1226 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 1259 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 1335 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 1215 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 1248 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 1297 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 1324 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 1237 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 1270 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 1284 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 1311 of file stm32l4xx_ll_spi.h.
Generated on Tue Jul 12 2022 17:38:58 by
