STM32L486xx HAL User Manual
Data Structures | Defines | Functions
stm32l4xx_ll_lpuart.h File Reference

Header file of LPUART LL module. More...

#include "stm32l4xx.h"

Go to the source code of this file.

Data Structures

struct  LL_LPUART_InitTypeDef
 LL LPUART Init Structure definition. More...

Defines

#define LPUART_LPUARTDIV_FREQ_MUL   256U
#define LPUART_BRR_MASK   0x000FFFFFU
#define LPUART_BRR_MIN_VALUE   0x00000300U
#define LL_LPUART_ICR_PECF   USART_ICR_PECF
#define LL_LPUART_ICR_FECF   USART_ICR_FECF
#define LL_LPUART_ICR_NCF   USART_ICR_NECF
#define LL_LPUART_ICR_ORECF   USART_ICR_ORECF
#define LL_LPUART_ICR_IDLECF   USART_ICR_IDLECF
#define LL_LPUART_ICR_TCCF   USART_ICR_TCCF
#define LL_LPUART_ICR_CTSCF   USART_ICR_CTSCF
#define LL_LPUART_ICR_CMCF   USART_ICR_CMCF
#define LL_LPUART_ICR_WUCF   USART_ICR_WUCF
#define LL_LPUART_ISR_PE   USART_ISR_PE
#define LL_LPUART_ISR_FE   USART_ISR_FE
#define LL_LPUART_ISR_NE   USART_ISR_NE
#define LL_LPUART_ISR_ORE   USART_ISR_ORE
#define LL_LPUART_ISR_IDLE   USART_ISR_IDLE
#define LL_LPUART_ISR_RXNE   USART_ISR_RXNE
#define LL_LPUART_ISR_TC   USART_ISR_TC
#define LL_LPUART_ISR_TXE   USART_ISR_TXE
#define LL_LPUART_ISR_CTSIF   USART_ISR_CTSIF
#define LL_LPUART_ISR_CTS   USART_ISR_CTS
#define LL_LPUART_ISR_BUSY   USART_ISR_BUSY
#define LL_LPUART_ISR_CMF   USART_ISR_CMF
#define LL_LPUART_ISR_SBKF   USART_ISR_SBKF
#define LL_LPUART_ISR_RWU   USART_ISR_RWU
#define LL_LPUART_ISR_WUF   USART_ISR_WUF
#define LL_LPUART_ISR_TEACK   USART_ISR_TEACK
#define LL_LPUART_ISR_REACK   USART_ISR_REACK
#define LL_LPUART_CR1_IDLEIE   USART_CR1_IDLEIE
#define LL_LPUART_CR1_RXNEIE   USART_CR1_RXNEIE
#define LL_LPUART_CR1_TCIE   USART_CR1_TCIE
#define LL_LPUART_CR1_TXEIE   USART_CR1_TXEIE
#define LL_LPUART_CR1_PEIE   USART_CR1_PEIE
#define LL_LPUART_CR1_CMIE   USART_CR1_CMIE
#define LL_LPUART_CR3_EIE   USART_CR3_EIE
#define LL_LPUART_CR3_CTSIE   USART_CR3_CTSIE
#define LL_LPUART_CR3_WUFIE   USART_CR3_WUFIE
#define LL_LPUART_DIRECTION_NONE   0x00000000U
#define LL_LPUART_DIRECTION_RX   USART_CR1_RE
#define LL_LPUART_DIRECTION_TX   USART_CR1_TE
#define LL_LPUART_DIRECTION_TX_RX   (USART_CR1_TE |USART_CR1_RE)
#define LL_LPUART_PARITY_NONE   0x00000000U
#define LL_LPUART_PARITY_EVEN   USART_CR1_PCE
#define LL_LPUART_PARITY_ODD   (USART_CR1_PCE | USART_CR1_PS)
#define LL_LPUART_WAKEUP_IDLELINE   0x00000000U
#define LL_LPUART_WAKEUP_ADDRESSMARK   USART_CR1_WAKE
#define LL_LPUART_DATAWIDTH_7B   USART_CR1_M1
#define LL_LPUART_DATAWIDTH_8B   0x00000000U
#define LL_LPUART_DATAWIDTH_9B   USART_CR1_M0
#define LL_LPUART_STOPBITS_1   0x00000000U
#define LL_LPUART_STOPBITS_2   USART_CR2_STOP_1
#define LL_LPUART_TXRX_STANDARD   0x00000000U
#define LL_LPUART_TXRX_SWAPPED   (USART_CR2_SWAP)
#define LL_LPUART_RXPIN_LEVEL_STANDARD   0x00000000U
#define LL_LPUART_RXPIN_LEVEL_INVERTED   (USART_CR2_RXINV)
#define LL_LPUART_TXPIN_LEVEL_STANDARD   0x00000000U
#define LL_LPUART_TXPIN_LEVEL_INVERTED   (USART_CR2_TXINV)
#define LL_LPUART_BINARY_LOGIC_POSITIVE   0x00000000U
#define LL_LPUART_BINARY_LOGIC_NEGATIVE   USART_CR2_DATAINV
#define LL_LPUART_BITORDER_LSBFIRST   0x00000000U
#define LL_LPUART_BITORDER_MSBFIRST   USART_CR2_MSBFIRST
#define LL_LPUART_ADDRESS_DETECT_4B   0x00000000U
#define LL_LPUART_ADDRESS_DETECT_7B   USART_CR2_ADDM7
#define LL_LPUART_HWCONTROL_NONE   0x00000000U
#define LL_LPUART_HWCONTROL_RTS   USART_CR3_RTSE
#define LL_LPUART_HWCONTROL_CTS   USART_CR3_CTSE
#define LL_LPUART_HWCONTROL_RTS_CTS   (USART_CR3_RTSE | USART_CR3_CTSE)
#define LL_LPUART_WAKEUP_ON_ADDRESS   0x00000000U
#define LL_LPUART_WAKEUP_ON_STARTBIT   USART_CR3_WUS_1
#define LL_LPUART_WAKEUP_ON_RXNE   (USART_CR3_WUS_0 | USART_CR3_WUS_1)
#define LL_LPUART_DE_POLARITY_HIGH   0x00000000U
#define LL_LPUART_DE_POLARITY_LOW   USART_CR3_DEP
#define LL_LPUART_DMA_REG_DATA_TRANSMIT   0x00000000U
#define LL_LPUART_DMA_REG_DATA_RECEIVE   0x00000001U
#define LL_LPUART_WriteReg(__INSTANCE__, __REG__, __VALUE__)   WRITE_REG(__INSTANCE__->__REG__, (__VALUE__))
 Write a value in LPUART register.
#define LL_LPUART_ReadReg(__INSTANCE__, __REG__)   READ_REG(__INSTANCE__->__REG__)
 Read a value in LPUART register.
#define __LL_LPUART_DIV(__PERIPHCLK__, __BAUDRATE__)   (((((uint64_t)(__PERIPHCLK__)*LPUART_LPUARTDIV_FREQ_MUL) + ((__BAUDRATE__)/2U))/(__BAUDRATE__)) & LPUART_BRR_MASK)
 Compute LPUARTDIV value according to Peripheral Clock and expected Baud Rate (20-bit value of LPUARTDIV is returned)

Functions

__STATIC_INLINE void LL_LPUART_Enable (USART_TypeDef *LPUARTx)
 LPUART Enable.
__STATIC_INLINE void LL_LPUART_Disable (USART_TypeDef *LPUARTx)
 LPUART Disable.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabled (USART_TypeDef *LPUARTx)
 Indicate if LPUART is enabled.
__STATIC_INLINE void LL_LPUART_EnableInStopMode (USART_TypeDef *LPUARTx)
 LPUART enabled in STOP Mode.
__STATIC_INLINE void LL_LPUART_DisableInStopMode (USART_TypeDef *LPUARTx)
 LPUART disabled in STOP Mode.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledInStopMode (USART_TypeDef *LPUARTx)
 Indicate if LPUART is enabled in STOP Mode (able to wake up MCU from Stop mode or not)
__STATIC_INLINE void LL_LPUART_EnableClockInStopMode (USART_TypeDef *LPUARTx)
 LPUART Clock enabled in STOP Mode.
__STATIC_INLINE void LL_LPUART_DisableClockInStopMode (USART_TypeDef *LPUARTx)
 LPUART clock disabled in STOP Mode.
__STATIC_INLINE uint32_t LL_LPUART_IsClockEnabledInStopMode (USART_TypeDef *LPUARTx)
 Indicate if LPUART clock is enabled in STOP Mode.
__STATIC_INLINE void LL_LPUART_EnableDirectionRx (USART_TypeDef *LPUARTx)
 Receiver Enable (Receiver is enabled and begins searching for a start bit)
__STATIC_INLINE void LL_LPUART_DisableDirectionRx (USART_TypeDef *LPUARTx)
 Receiver Disable.
__STATIC_INLINE void LL_LPUART_EnableDirectionTx (USART_TypeDef *LPUARTx)
 Transmitter Enable.
__STATIC_INLINE void LL_LPUART_DisableDirectionTx (USART_TypeDef *LPUARTx)
 Transmitter Disable.
__STATIC_INLINE void LL_LPUART_SetTransferDirection (USART_TypeDef *LPUARTx, uint32_t TransferDirection)
 Configure simultaneously enabled/disabled states of Transmitter and Receiver.
__STATIC_INLINE uint32_t LL_LPUART_GetTransferDirection (USART_TypeDef *LPUARTx)
 Return enabled/disabled states of Transmitter and Receiver.
__STATIC_INLINE void LL_LPUART_SetParity (USART_TypeDef *LPUARTx, uint32_t Parity)
 Configure Parity (enabled/disabled and parity mode if enabled)
__STATIC_INLINE uint32_t LL_LPUART_GetParity (USART_TypeDef *LPUARTx)
 Return Parity configuration (enabled/disabled and parity mode if enabled)
__STATIC_INLINE void LL_LPUART_SetWakeUpMethod (USART_TypeDef *LPUARTx, uint32_t Method)
 Set Receiver Wake Up method from Mute mode.
__STATIC_INLINE uint32_t LL_LPUART_GetWakeUpMethod (USART_TypeDef *LPUARTx)
 Return Receiver Wake Up method from Mute mode.
__STATIC_INLINE void LL_LPUART_SetDataWidth (USART_TypeDef *LPUARTx, uint32_t DataWidth)
 Set Word length (nb of data bits, excluding start and stop bits)
__STATIC_INLINE uint32_t LL_LPUART_GetDataWidth (USART_TypeDef *LPUARTx)
 Return Word length (i.e.
__STATIC_INLINE void LL_LPUART_EnableMuteMode (USART_TypeDef *LPUARTx)
 Allow switch between Mute Mode and Active mode.
__STATIC_INLINE void LL_LPUART_DisableMuteMode (USART_TypeDef *LPUARTx)
 Prevent Mute Mode use.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledMuteMode (USART_TypeDef *LPUARTx)
 Indicate if switch between Mute Mode and Active mode is allowed.
__STATIC_INLINE void LL_LPUART_SetStopBitsLength (USART_TypeDef *LPUARTx, uint32_t StopBits)
 Set the length of the stop bits.
__STATIC_INLINE uint32_t LL_LPUART_GetStopBitsLength (USART_TypeDef *LPUARTx)
 Retrieve the length of the stop bits.
__STATIC_INLINE void LL_LPUART_ConfigCharacter (USART_TypeDef *LPUARTx, uint32_t DataWidth, uint32_t Parity, uint32_t StopBits)
 Configure Character frame format (Datawidth, Parity control, Stop Bits)
__STATIC_INLINE void LL_LPUART_SetTXRXSwap (USART_TypeDef *LPUARTx, uint32_t SwapConfig)
 Configure TX/RX pins swapping setting.
__STATIC_INLINE uint32_t LL_LPUART_GetTXRXSwap (USART_TypeDef *LPUARTx)
 Retrieve TX/RX pins swapping configuration.
__STATIC_INLINE void LL_LPUART_SetRXPinLevel (USART_TypeDef *LPUARTx, uint32_t PinInvMethod)
 Configure RX pin active level logic.
__STATIC_INLINE uint32_t LL_LPUART_GetRXPinLevel (USART_TypeDef *LPUARTx)
 Retrieve RX pin active level logic configuration.
__STATIC_INLINE void LL_LPUART_SetTXPinLevel (USART_TypeDef *LPUARTx, uint32_t PinInvMethod)
 Configure TX pin active level logic.
__STATIC_INLINE uint32_t LL_LPUART_GetTXPinLevel (USART_TypeDef *LPUARTx)
 Retrieve TX pin active level logic configuration.
__STATIC_INLINE void LL_LPUART_SetBinaryDataLogic (USART_TypeDef *LPUARTx, uint32_t DataLogic)
 Configure Binary data logic.
__STATIC_INLINE uint32_t LL_LPUART_GetBinaryDataLogic (USART_TypeDef *LPUARTx)
 Retrieve Binary data configuration.
__STATIC_INLINE void LL_LPUART_SetTransferBitOrder (USART_TypeDef *LPUARTx, uint32_t BitOrder)
 Configure transfer bit order (either Less or Most Significant Bit First)
__STATIC_INLINE uint32_t LL_LPUART_GetTransferBitOrder (USART_TypeDef *LPUARTx)
 Return transfer bit order (either Less or Most Significant Bit First)
__STATIC_INLINE void LL_LPUART_ConfigNodeAddress (USART_TypeDef *LPUARTx, uint32_t AddressLen, uint32_t NodeAddress)
 Set Address of the LPUART node.
__STATIC_INLINE uint32_t LL_LPUART_GetNodeAddress (USART_TypeDef *LPUARTx)
 Return 8 bit Address of the LPUART node as set in ADD field of CR2.
__STATIC_INLINE uint32_t LL_LPUART_GetNodeAddressLen (USART_TypeDef *LPUARTx)
 Return Length of Node Address used in Address Detection mode (7-bit or 4-bit)
__STATIC_INLINE void LL_LPUART_EnableRTSHWFlowCtrl (USART_TypeDef *LPUARTx)
 Enable RTS HW Flow Control.
__STATIC_INLINE void LL_LPUART_DisableRTSHWFlowCtrl (USART_TypeDef *LPUARTx)
 Disable RTS HW Flow Control.
__STATIC_INLINE void LL_LPUART_EnableCTSHWFlowCtrl (USART_TypeDef *LPUARTx)
 Enable CTS HW Flow Control.
__STATIC_INLINE void LL_LPUART_DisableCTSHWFlowCtrl (USART_TypeDef *LPUARTx)
 Disable CTS HW Flow Control.
__STATIC_INLINE void LL_LPUART_SetHWFlowCtrl (USART_TypeDef *LPUARTx, uint32_t HardwareFlowControl)
 Configure HW Flow Control mode (both CTS and RTS)
__STATIC_INLINE uint32_t LL_LPUART_GetHWFlowCtrl (USART_TypeDef *LPUARTx)
 Return HW Flow Control configuration (both CTS and RTS)
__STATIC_INLINE void LL_LPUART_EnableOverrunDetect (USART_TypeDef *LPUARTx)
 Enable Overrun detection.
__STATIC_INLINE void LL_LPUART_DisableOverrunDetect (USART_TypeDef *LPUARTx)
 Disable Overrun detection.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledOverrunDetect (USART_TypeDef *LPUARTx)
 Indicate if Overrun detection is enabled.
__STATIC_INLINE void LL_LPUART_SetWKUPType (USART_TypeDef *LPUARTx, uint32_t Type)
 Select event type for Wake UP Interrupt Flag (WUS[1:0] bits)
__STATIC_INLINE uint32_t LL_LPUART_GetWKUPType (USART_TypeDef *LPUARTx)
 Return event type for Wake UP Interrupt Flag (WUS[1:0] bits)
__STATIC_INLINE void LL_LPUART_SetBaudRate (USART_TypeDef *LPUARTx, uint32_t PeriphClk, uint32_t BaudRate)
 Configure LPUART BRR register for achieving expected Baud Rate value.
__STATIC_INLINE uint32_t LL_LPUART_GetBaudRate (USART_TypeDef *LPUARTx, uint32_t PeriphClk)
 Return current Baud Rate value, according to LPUARTDIV present in BRR register (full BRR content), and to used Peripheral Clock values.
__STATIC_INLINE void LL_LPUART_EnableHalfDuplex (USART_TypeDef *LPUARTx)
 Enable Single Wire Half-Duplex mode.
__STATIC_INLINE void LL_LPUART_DisableHalfDuplex (USART_TypeDef *LPUARTx)
 Disable Single Wire Half-Duplex mode.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledHalfDuplex (USART_TypeDef *LPUARTx)
 Indicate if Single Wire Half-Duplex mode is enabled.
__STATIC_INLINE void LL_LPUART_SetDEDeassertionTime (USART_TypeDef *LPUARTx, uint32_t Time)
 Set DEDT (Driver Enable De-Assertion Time), Time value expressed on 5 bits ([4:0] bits).
__STATIC_INLINE uint32_t LL_LPUART_GetDEDeassertionTime (USART_TypeDef *LPUARTx)
 Return DEDT (Driver Enable De-Assertion Time)
__STATIC_INLINE void LL_LPUART_SetDEAssertionTime (USART_TypeDef *LPUARTx, uint32_t Time)
 Set DEAT (Driver Enable Assertion Time), Time value expressed on 5 bits ([4:0] bits).
__STATIC_INLINE uint32_t LL_LPUART_GetDEAssertionTime (USART_TypeDef *LPUARTx)
 Return DEAT (Driver Enable Assertion Time)
__STATIC_INLINE void LL_LPUART_EnableDEMode (USART_TypeDef *LPUARTx)
 Enable Driver Enable (DE) Mode.
__STATIC_INLINE void LL_LPUART_DisableDEMode (USART_TypeDef *LPUARTx)
 Disable Driver Enable (DE) Mode.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDEMode (USART_TypeDef *LPUARTx)
 Indicate if Driver Enable (DE) Mode is enabled.
__STATIC_INLINE void LL_LPUART_SetDESignalPolarity (USART_TypeDef *LPUARTx, uint32_t Polarity)
 Select Driver Enable Polarity.
__STATIC_INLINE uint32_t LL_LPUART_GetDESignalPolarity (USART_TypeDef *LPUARTx)
 Return Driver Enable Polarity.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_PE (USART_TypeDef *LPUARTx)
 Check if the LPUART Parity Error Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_FE (USART_TypeDef *LPUARTx)
 Check if the LPUART Framing Error Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_NE (USART_TypeDef *LPUARTx)
 Check if the LPUART Noise error detected Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_ORE (USART_TypeDef *LPUARTx)
 Check if the LPUART OverRun Error Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_IDLE (USART_TypeDef *LPUARTx)
 Check if the LPUART IDLE line detected Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RXNE (USART_TypeDef *LPUARTx)
 Check if the LPUART Read Data Register Not Empty Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TC (USART_TypeDef *LPUARTx)
 Check if the LPUART Transmission Complete Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TXE (USART_TypeDef *LPUARTx)
 Check if the LPUART Transmit Data Register Empty Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_nCTS (USART_TypeDef *LPUARTx)
 Check if the LPUART CTS interrupt Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_CTS (USART_TypeDef *LPUARTx)
 Check if the LPUART CTS Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_BUSY (USART_TypeDef *LPUARTx)
 Check if the LPUART Busy Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_CM (USART_TypeDef *LPUARTx)
 Check if the LPUART Character Match Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_SBK (USART_TypeDef *LPUARTx)
 Check if the LPUART Send Break Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RWU (USART_TypeDef *LPUARTx)
 Check if the LPUART Receive Wake Up from mute mode Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_WKUP (USART_TypeDef *LPUARTx)
 Check if the LPUART Wake Up from stop mode Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TEACK (USART_TypeDef *LPUARTx)
 Check if the LPUART Transmit Enable Acknowledge Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_REACK (USART_TypeDef *LPUARTx)
 Check if the LPUART Receive Enable Acknowledge Flag is set or not.
__STATIC_INLINE void LL_LPUART_ClearFlag_PE (USART_TypeDef *LPUARTx)
 Clear Parity Error Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_FE (USART_TypeDef *LPUARTx)
 Clear Framing Error Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_NE (USART_TypeDef *LPUARTx)
 Clear Noise detected Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_ORE (USART_TypeDef *LPUARTx)
 Clear OverRun Error Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_IDLE (USART_TypeDef *LPUARTx)
 Clear IDLE line detected Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_TC (USART_TypeDef *LPUARTx)
 Clear Transmission Complete Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_nCTS (USART_TypeDef *LPUARTx)
 Clear CTS Interrupt Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_CM (USART_TypeDef *LPUARTx)
 Clear Character Match Flag.
__STATIC_INLINE void LL_LPUART_ClearFlag_WKUP (USART_TypeDef *LPUARTx)
 Clear Wake Up from stop mode Flag.
__STATIC_INLINE void LL_LPUART_EnableIT_IDLE (USART_TypeDef *LPUARTx)
 Enable IDLE Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_RXNE (USART_TypeDef *LPUARTx)
 Enable RX Not Empty Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_TC (USART_TypeDef *LPUARTx)
 Enable Transmission Complete Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_TXE (USART_TypeDef *LPUARTx)
 Enable TX Empty Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_PE (USART_TypeDef *LPUARTx)
 Enable Parity Error Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_CM (USART_TypeDef *LPUARTx)
 Enable Character Match Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_ERROR (USART_TypeDef *LPUARTx)
 Enable Error Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_CTS (USART_TypeDef *LPUARTx)
 Enable CTS Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_WKUP (USART_TypeDef *LPUARTx)
 Enable Wake Up from Stop Mode Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_IDLE (USART_TypeDef *LPUARTx)
 Disable IDLE Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_RXNE (USART_TypeDef *LPUARTx)
 Disable RX Not Empty Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_TC (USART_TypeDef *LPUARTx)
 Disable Transmission Complete Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_TXE (USART_TypeDef *LPUARTx)
 Disable TX Empty Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_PE (USART_TypeDef *LPUARTx)
 Disable Parity Error Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_CM (USART_TypeDef *LPUARTx)
 Disable Character Match Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_ERROR (USART_TypeDef *LPUARTx)
 Disable Error Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_CTS (USART_TypeDef *LPUARTx)
 Disable CTS Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_WKUP (USART_TypeDef *LPUARTx)
 Disable Wake Up from Stop Mode Interrupt.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_IDLE (USART_TypeDef *LPUARTx)
 Check if the LPUART IDLE Interrupt source is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXNE (USART_TypeDef *LPUARTx)
 Check if the LPUART RX Not Empty Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TC (USART_TypeDef *LPUARTx)
 Check if the LPUART Transmission Complete Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_TXE (USART_TypeDef *LPUARTx)
 Check if the LPUART TX Empty Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_PE (USART_TypeDef *LPUARTx)
 Check if the LPUART Parity Error Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CM (USART_TypeDef *LPUARTx)
 Check if the LPUART Character Match Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_ERROR (USART_TypeDef *LPUARTx)
 Check if the LPUART Error Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_CTS (USART_TypeDef *LPUARTx)
 Check if the LPUART CTS Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_WKUP (USART_TypeDef *LPUARTx)
 Check if the LPUART Wake Up from Stop Mode Interrupt is enabled or disabled.
__STATIC_INLINE void LL_LPUART_EnableDMAReq_RX (USART_TypeDef *LPUARTx)
 Enable DMA Mode for reception.
__STATIC_INLINE void LL_LPUART_DisableDMAReq_RX (USART_TypeDef *LPUARTx)
 Disable DMA Mode for reception.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_RX (USART_TypeDef *LPUARTx)
 Check if DMA Mode is enabled for reception.
__STATIC_INLINE void LL_LPUART_EnableDMAReq_TX (USART_TypeDef *LPUARTx)
 Enable DMA Mode for transmission.
__STATIC_INLINE void LL_LPUART_DisableDMAReq_TX (USART_TypeDef *LPUARTx)
 Disable DMA Mode for transmission.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMAReq_TX (USART_TypeDef *LPUARTx)
 Check if DMA Mode is enabled for transmission.
__STATIC_INLINE void LL_LPUART_EnableDMADeactOnRxErr (USART_TypeDef *LPUARTx)
 Enable DMA Disabling on Reception Error.
__STATIC_INLINE void LL_LPUART_DisableDMADeactOnRxErr (USART_TypeDef *LPUARTx)
 Disable DMA Disabling on Reception Error.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledDMADeactOnRxErr (USART_TypeDef *LPUARTx)
 Indicate if DMA Disabling on Reception Error is disabled.
__STATIC_INLINE uint32_t LL_LPUART_DMA_GetRegAddr (USART_TypeDef *LPUARTx, uint32_t Direction)
 Get the LPUART data register address used for DMA transfer.
__STATIC_INLINE uint8_t LL_LPUART_ReceiveData8 (USART_TypeDef *LPUARTx)
 Read Receiver Data register (Receive Data value, 8 bits)
__STATIC_INLINE uint16_t LL_LPUART_ReceiveData9 (USART_TypeDef *LPUARTx)
 Read Receiver Data register (Receive Data value, 9 bits)
__STATIC_INLINE void LL_LPUART_TransmitData8 (USART_TypeDef *LPUARTx, uint8_t Value)
 Write in Transmitter Data Register (Transmit Data value, 8 bits)
__STATIC_INLINE void LL_LPUART_TransmitData9 (USART_TypeDef *LPUARTx, uint16_t Value)
 Write in Transmitter Data Register (Transmit Data value, 9 bits)
__STATIC_INLINE void LL_LPUART_RequestBreakSending (USART_TypeDef *LPUARTx)
 Request Break sending.
__STATIC_INLINE void LL_LPUART_RequestEnterMuteMode (USART_TypeDef *LPUARTx)
 Put LPUART in mute mode and set the RWU flag.
__STATIC_INLINE void LL_LPUART_RequestRxDataFlush (USART_TypeDef *LPUARTx)
 Request a Receive Data flush.
ErrorStatus LL_LPUART_DeInit (USART_TypeDef *LPUARTx)
 De-initialize LPUART registers (Registers restored to their default values).
ErrorStatus LL_LPUART_Init (USART_TypeDef *LPUARTx, LL_LPUART_InitTypeDef *LPUART_InitStruct)
 Initialize LPUART registers according to the specified parameters in LPUART_InitStruct.
void LL_LPUART_StructInit (LL_LPUART_InitTypeDef *LPUART_InitStruct)
 Set each LL_LPUART_InitTypeDef field to default value.

Detailed Description

Header file of LPUART LL module.

Author:
MCD Application Team
Attention:

© COPYRIGHT(c) 2017 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32l4xx_ll_lpuart.h.