TUKS MCU Introductory course / TUKS-COURSE-TIMER
Embed: (wiki syntax)

« Back to documentation index

DMA_Management

Functions

__STATIC_INLINE void LL_LPUART_EnableDMAReq_RX (USART_TypeDef *LPUARTx)
 Enable DMA Mode for reception CR3 DMAR LL_LPUART_EnableDMAReq_RX.
__STATIC_INLINE void LL_LPUART_DisableDMAReq_RX (USART_TypeDef *LPUARTx)
 Disable DMA Mode for reception CR3 DMAR LL_LPUART_DisableDMAReq_RX.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_RX (USART_TypeDef *LPUARTx)
 Check if DMA Mode is enabled for reception CR3 DMAR LL_LPUART_IsEnabledDMAReq_RX.
__STATIC_INLINE void LL_LPUART_EnableDMAReq_TX (USART_TypeDef *LPUARTx)
 Enable DMA Mode for transmission CR3 DMAT LL_LPUART_EnableDMAReq_TX.
__STATIC_INLINE void LL_LPUART_DisableDMAReq_TX (USART_TypeDef *LPUARTx)
 Disable DMA Mode for transmission CR3 DMAT LL_LPUART_DisableDMAReq_TX.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_TX (USART_TypeDef *LPUARTx)
 Check if DMA Mode is enabled for transmission CR3 DMAT LL_LPUART_IsEnabledDMAReq_TX.
__STATIC_INLINE void LL_LPUART_EnableDMADeactOnRxErr (USART_TypeDef *LPUARTx)
 Enable DMA Disabling on Reception Error CR3 DDRE LL_LPUART_EnableDMADeactOnRxErr.
__STATIC_INLINE void LL_LPUART_DisableDMADeactOnRxErr (USART_TypeDef *LPUARTx)
 Disable DMA Disabling on Reception Error CR3 DDRE LL_LPUART_DisableDMADeactOnRxErr.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMADeactOnRxErr (USART_TypeDef *LPUARTx)
 Indicate if DMA Disabling on Reception Error is disabled CR3 DDRE LL_LPUART_IsEnabledDMADeactOnRxErr.
__STATIC_INLINE uint32_t LL_LPUART_DMA_GetRegAddr (USART_TypeDef *LPUARTx, uint32_t Direction)
 Get the LPUART data register address used for DMA transfer RDR RDR LL_LPUART_DMA_GetRegAddr
TDR TDR LL_LPUART_DMA_GetRegAddr.

Function Documentation

__STATIC_INLINE void LL_LPUART_DisableDMADeactOnRxErr ( USART_TypeDef *  LPUARTx )

Disable DMA Disabling on Reception Error CR3 DDRE LL_LPUART_DisableDMADeactOnRxErr.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1980 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableDMAReq_RX ( USART_TypeDef *  LPUARTx )

Disable DMA Mode for reception CR3 DMAR LL_LPUART_DisableDMAReq_RX.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1914 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_DisableDMAReq_TX ( USART_TypeDef *  LPUARTx )

Disable DMA Mode for transmission CR3 DMAT LL_LPUART_DisableDMAReq_TX.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1947 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_DMA_GetRegAddr ( USART_TypeDef *  LPUARTx,
uint32_t  Direction 
)

Get the LPUART data register address used for DMA transfer RDR RDR LL_LPUART_DMA_GetRegAddr
TDR TDR LL_LPUART_DMA_GetRegAddr.

Parameters:
LPUARTxLPUART Instance
DirectionThis parameter can be one of the following values:

  • LL_LPUART_DMA_REG_DATA_TRANSMIT
  • LL_LPUART_DMA_REG_DATA_RECEIVE
Return values:
Addressof data register

Definition at line 2006 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableDMADeactOnRxErr ( USART_TypeDef *  LPUARTx )

Enable DMA Disabling on Reception Error CR3 DDRE LL_LPUART_EnableDMADeactOnRxErr.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1969 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableDMAReq_RX ( USART_TypeDef *  LPUARTx )

Enable DMA Mode for reception CR3 DMAR LL_LPUART_EnableDMAReq_RX.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1903 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE void LL_LPUART_EnableDMAReq_TX ( USART_TypeDef *  LPUARTx )

Enable DMA Mode for transmission CR3 DMAT LL_LPUART_EnableDMAReq_TX.

Parameters:
LPUARTxLPUART Instance
Return values:
None

Definition at line 1936 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMADeactOnRxErr ( USART_TypeDef *  LPUARTx )

Indicate if DMA Disabling on Reception Error is disabled CR3 DDRE LL_LPUART_IsEnabledDMADeactOnRxErr.

Parameters:
LPUARTxLPUART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1991 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_RX ( USART_TypeDef *  LPUARTx )

Check if DMA Mode is enabled for reception CR3 DMAR LL_LPUART_IsEnabledDMAReq_RX.

Parameters:
LPUARTxLPUART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1925 of file stm32l4xx_ll_lpuart.h.

__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_TX ( USART_TypeDef *  LPUARTx )

Check if DMA Mode is enabled for transmission CR3 DMAT LL_LPUART_IsEnabledDMAReq_TX.

Parameters:
LPUARTxLPUART Instance
Return values:
Stateof bit (1 or 0).

Definition at line 1958 of file stm32l4xx_ll_lpuart.h.