STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE uint8_t LL_LPUART_ReceiveData8 (USART_TypeDef *LPUARTx)
 Read Receiver Data register (Receive Data value, 8 bits) RDR RDR LL_LPUART_ReceiveData8. More...
 
__STATIC_INLINE uint16_t LL_LPUART_ReceiveData9 (USART_TypeDef *LPUARTx)
 Read Receiver Data register (Receive Data value, 9 bits) RDR RDR LL_LPUART_ReceiveData9. More...
 
__STATIC_INLINE void LL_LPUART_TransmitData8 (USART_TypeDef *LPUARTx, uint8_t Value)
 Write in Transmitter Data Register (Transmit Data value, 8 bits) TDR TDR LL_LPUART_TransmitData8. More...
 
__STATIC_INLINE void LL_LPUART_TransmitData9 (USART_TypeDef *LPUARTx, uint16_t Value)
 Write in Transmitter Data Register (Transmit Data value, 9 bits) TDR TDR LL_LPUART_TransmitData9. More...
 

Detailed Description

Function Documentation

◆ LL_LPUART_ReceiveData8()

__STATIC_INLINE uint8_t LL_LPUART_ReceiveData8 ( USART_TypeDef *  LPUARTx)

Read Receiver Data register (Receive Data value, 8 bits) RDR RDR LL_LPUART_ReceiveData8.

Parameters
LPUARTxLPUART Instance
Return values
TimeValue between Min_Data=0x00 and Max_Data=0xFF

Definition at line 2743 of file stm32l4xx_ll_lpuart.h.

2744 {
2745  return (uint8_t)(READ_BIT(LPUARTx->RDR, USART_RDR_RDR) & 0xFFU);
2746 }

◆ LL_LPUART_ReceiveData9()

__STATIC_INLINE uint16_t LL_LPUART_ReceiveData9 ( USART_TypeDef *  LPUARTx)

Read Receiver Data register (Receive Data value, 9 bits) RDR RDR LL_LPUART_ReceiveData9.

Parameters
LPUARTxLPUART Instance
Return values
TimeValue between Min_Data=0x00 and Max_Data=0x1FF

Definition at line 2754 of file stm32l4xx_ll_lpuart.h.

2755 {
2756  return (uint16_t)(READ_BIT(LPUARTx->RDR, USART_RDR_RDR));
2757 }

◆ LL_LPUART_TransmitData8()

__STATIC_INLINE void LL_LPUART_TransmitData8 ( USART_TypeDef *  LPUARTx,
uint8_t  Value 
)

Write in Transmitter Data Register (Transmit Data value, 8 bits) TDR TDR LL_LPUART_TransmitData8.

Parameters
LPUARTxLPUART Instance
Valuebetween Min_Data=0x00 and Max_Data=0xFF
Return values
None

Definition at line 2766 of file stm32l4xx_ll_lpuart.h.

2767 {
2768  LPUARTx->TDR = Value;
2769 }

◆ LL_LPUART_TransmitData9()

__STATIC_INLINE void LL_LPUART_TransmitData9 ( USART_TypeDef *  LPUARTx,
uint16_t  Value 
)

Write in Transmitter Data Register (Transmit Data value, 9 bits) TDR TDR LL_LPUART_TransmitData9.

Parameters
LPUARTxLPUART Instance
Valuebetween Min_Data=0x00 and Max_Data=0x1FF
Return values
None

Definition at line 2778 of file stm32l4xx_ll_lpuart.h.

2779 {
2780  LPUARTx->TDR = Value & 0x1FFUL;
2781 }