Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

DMA_Management

Functions

__STATIC_INLINE void LL_USART_EnableDMAReq_RX (USART_TypeDef *USARTx)
 Enable DMA Mode for reception CR3 DMAR LL_USART_EnableDMAReq_RX.
__STATIC_INLINE void LL_USART_DisableDMAReq_RX (USART_TypeDef *USARTx)
 Disable DMA Mode for reception CR3 DMAR LL_USART_DisableDMAReq_RX.
__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX (USART_TypeDef *USARTx)
 Check if DMA Mode is enabled for reception CR3 DMAR LL_USART_IsEnabledDMAReq_RX.
__STATIC_INLINE void LL_USART_EnableDMAReq_TX (USART_TypeDef *USARTx)
 Enable DMA Mode for transmission CR3 DMAT LL_USART_EnableDMAReq_TX.
__STATIC_INLINE void LL_USART_DisableDMAReq_TX (USART_TypeDef *USARTx)
 Disable DMA Mode for transmission CR3 DMAT LL_USART_DisableDMAReq_TX.
__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX (USART_TypeDef *USARTx)
 Check if DMA Mode is enabled for transmission CR3 DMAT LL_USART_IsEnabledDMAReq_TX.
__STATIC_INLINE void LL_USART_EnableDMADeactOnRxErr (USART_TypeDef *USARTx)
 Enable DMA Disabling on Reception Error CR3 DDRE LL_USART_EnableDMADeactOnRxErr.
__STATIC_INLINE void LL_USART_DisableDMADeactOnRxErr (USART_TypeDef *USARTx)
 Disable DMA Disabling on Reception Error CR3 DDRE LL_USART_DisableDMADeactOnRxErr.
__STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr (USART_TypeDef *USARTx)
 Indicate if DMA Disabling on Reception Error is disabled CR3 DDRE LL_USART_IsEnabledDMADeactOnRxErr.
__STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr (USART_TypeDef *USARTx, uint32_t Direction)
 Get the data register address used for DMA transfer RDR RDR LL_USART_DMA_GetRegAddr
TDR TDR LL_USART_DMA_GetRegAddr.

Function Documentation

__STATIC_INLINE void LL_USART_DisableDMADeactOnRxErr ( USART_TypeDef *  USARTx )

Disable DMA Disabling on Reception Error CR3 DDRE LL_USART_DisableDMADeactOnRxErr.

Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 3296 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableDMAReq_RX ( USART_TypeDef *  USARTx )

Disable DMA Mode for reception CR3 DMAR LL_USART_DisableDMAReq_RX.

Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 3230 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_DisableDMAReq_TX ( USART_TypeDef *  USARTx )

Disable DMA Mode for transmission CR3 DMAT LL_USART_DisableDMAReq_TX.

Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 3263 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr ( USART_TypeDef *  USARTx,
uint32_t  Direction 
)

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

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

  • LL_USART_DMA_REG_DATA_TRANSMIT
  • LL_USART_DMA_REG_DATA_RECEIVE
Return values:
Addressof data register

Definition at line 3322 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableDMADeactOnRxErr ( USART_TypeDef *  USARTx )

Enable DMA Disabling on Reception Error CR3 DDRE LL_USART_EnableDMADeactOnRxErr.

Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 3285 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableDMAReq_RX ( USART_TypeDef *  USARTx )

Enable DMA Mode for reception CR3 DMAR LL_USART_EnableDMAReq_RX.

Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 3219 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE void LL_USART_EnableDMAReq_TX ( USART_TypeDef *  USARTx )

Enable DMA Mode for transmission CR3 DMAT LL_USART_EnableDMAReq_TX.

Parameters:
USARTxUSART Instance
Return values:
None

Definition at line 3252 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledDMADeactOnRxErr ( USART_TypeDef *  USARTx )

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

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

Definition at line 3307 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX ( USART_TypeDef *  USARTx )

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

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

Definition at line 3241 of file stm32l4xx_ll_usart.h.

__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX ( USART_TypeDef *  USARTx )

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

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

Definition at line 3274 of file stm32l4xx_ll_usart.h.