STM32H735xx HAL User Manual
Data Structures | Defines | Functions | Variables
stm32h7xx_ll_lpuart.h File Reference

Header file of LPUART LL module. More...

#include "stm32h7xx.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_RXFNE   USART_ISR_RXNE_RXFNE
#define LL_LPUART_ISR_TC   USART_ISR_TC
#define LL_LPUART_ISR_TXE_TXFNF   USART_ISR_TXE_TXFNF
#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_ISR_TXFE   USART_ISR_TXFE
#define LL_LPUART_ISR_RXFF   USART_ISR_RXFF
#define LL_LPUART_ISR_RXFT   USART_ISR_RXFT
#define LL_LPUART_ISR_TXFT   USART_ISR_TXFT
#define LL_LPUART_CR1_IDLEIE   USART_CR1_IDLEIE
#define LL_LPUART_CR1_RXNEIE_RXFNEIE   USART_CR1_RXNEIE_RXFNEIE
#define LL_LPUART_CR1_TCIE   USART_CR1_TCIE
#define LL_LPUART_CR1_TXEIE_TXFNFIE   USART_CR1_TXEIE_TXFNFIE
#define LL_LPUART_CR1_PEIE   USART_CR1_PEIE
#define LL_LPUART_CR1_CMIE   USART_CR1_CMIE
#define LL_LPUART_CR1_TXFEIE   USART_CR1_TXFEIE
#define LL_LPUART_CR1_RXFFIE   USART_CR1_RXFFIE
#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_CR3_TXFTIE   USART_CR3_TXFTIE
#define LL_LPUART_CR3_RXFTIE   USART_CR3_RXFTIE
#define LL_LPUART_FIFOTHRESHOLD_1_8   0x00000000U
#define LL_LPUART_FIFOTHRESHOLD_1_4   0x00000001U
#define LL_LPUART_FIFOTHRESHOLD_1_2   0x00000002U
#define LL_LPUART_FIFOTHRESHOLD_3_4   0x00000003U
#define LL_LPUART_FIFOTHRESHOLD_7_8   0x00000004U
#define LL_LPUART_FIFOTHRESHOLD_8_8   0x00000005U
#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_PRESCALER_DIV1   0x00000000U
#define LL_LPUART_PRESCALER_DIV2   (USART_PRESC_PRESCALER_0)
#define LL_LPUART_PRESCALER_DIV4   (USART_PRESC_PRESCALER_1)
#define LL_LPUART_PRESCALER_DIV6
#define LL_LPUART_PRESCALER_DIV8   (USART_PRESC_PRESCALER_2)
#define LL_LPUART_PRESCALER_DIV10
#define LL_LPUART_PRESCALER_DIV12
#define LL_LPUART_PRESCALER_DIV16
#define LL_LPUART_PRESCALER_DIV32   (USART_PRESC_PRESCALER_3)
#define LL_LPUART_PRESCALER_DIV64
#define LL_LPUART_PRESCALER_DIV128
#define LL_LPUART_PRESCALER_DIV256
#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__, __PRESCALER__, __BAUDRATE__)
 Compute LPUARTDIV value according to Peripheral Clock and expected Baud Rate (20-bit value of LPUARTDIV is returned)
#define LL_LPUART_IsActiveFlag_RXNE   LL_LPUART_IsActiveFlag_RXNE_RXFNE
#define LL_LPUART_IsActiveFlag_TXE   LL_LPUART_IsActiveFlag_TXE_TXFNF
#define LL_LPUART_EnableIT_RXNE   LL_LPUART_EnableIT_RXNE_RXFNE
#define LL_LPUART_EnableIT_TXE   LL_LPUART_EnableIT_TXE_TXFNF
#define LL_LPUART_DisableIT_RXNE   LL_LPUART_DisableIT_RXNE_RXFNE
#define LL_LPUART_DisableIT_TXE   LL_LPUART_DisableIT_TXE_TXFNF
#define LL_LPUART_IsEnabledIT_RXNE   LL_LPUART_IsEnabledIT_RXNE_RXFNE
#define LL_LPUART_IsEnabledIT_TXE   LL_LPUART_IsEnabledIT_TXE_TXFNF

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_EnableFIFO (USART_TypeDef *LPUARTx)
 FIFO Mode Enable.
__STATIC_INLINE void LL_LPUART_DisableFIFO (USART_TypeDef *LPUARTx)
 FIFO Mode Disable.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledFIFO (USART_TypeDef *LPUARTx)
 Indicate if FIFO Mode is enabled.
__STATIC_INLINE void LL_LPUART_SetTXFIFOThreshold (USART_TypeDef *LPUARTx, uint32_t Threshold)
 Configure TX FIFO Threshold.
__STATIC_INLINE uint32_t LL_LPUART_GetTXFIFOThreshold (USART_TypeDef *LPUARTx)
 Return TX FIFO Threshold Configuration.
__STATIC_INLINE void LL_LPUART_SetRXFIFOThreshold (USART_TypeDef *LPUARTx, uint32_t Threshold)
 Configure RX FIFO Threshold.
__STATIC_INLINE uint32_t LL_LPUART_GetRXFIFOThreshold (USART_TypeDef *LPUARTx)
 Return RX FIFO Threshold Configuration.
__STATIC_INLINE void LL_LPUART_ConfigFIFOsThreshold (USART_TypeDef *LPUARTx, uint32_t TXThreshold, uint32_t RXThreshold)
 Configure TX and RX FIFOs Threshold.
__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_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_SetPrescaler (USART_TypeDef *LPUARTx, uint32_t PrescalerValue)
 Configure Clock source prescaler for baudrate generator and oversampling.
__STATIC_INLINE uint32_t LL_LPUART_GetPrescaler (USART_TypeDef *LPUARTx)
 Retrieve the Clock source prescaler for baudrate generator and oversampling.
__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 PrescalerValue, 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, uint32_t PrescalerValue)
 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_RXFNE (USART_TypeDef *LPUARTx)
 Check if the LPUART Read Data Register or LPUART RX FIFO 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_TXFNF (USART_TypeDef *LPUARTx)
 Check if the LPUART Transmit Data Register Empty or LPUART TX FIFO Not Full 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 uint32_t LL_LPUART_IsActiveFlag_TXFE (USART_TypeDef *LPUARTx)
 Check if the LPUART TX FIFO Empty Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RXFF (USART_TypeDef *LPUARTx)
 Check if the LPUART RX FIFO Full Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_TXFT (USART_TypeDef *LPUARTx)
 Check if the LPUART TX FIFO Threshold Flag is set or not.
__STATIC_INLINE uint32_t LL_LPUART_IsActiveFlag_RXFT (USART_TypeDef *LPUARTx)
 Check if the LPUART RX FIFO Threshold 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_RXFNE (USART_TypeDef *LPUARTx)
 Enable RX Not Empty and RX FIFO Not Empty Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_TC (USART_TypeDef *LPUARTx)
 Enable Transmission Complete Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_TXE_TXFNF (USART_TypeDef *LPUARTx)
 Enable TX Empty and TX FIFO Not Full 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_TXFE (USART_TypeDef *LPUARTx)
 Enable TX FIFO Empty Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_RXFF (USART_TypeDef *LPUARTx)
 Enable RX FIFO Full 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_EnableIT_TXFT (USART_TypeDef *LPUARTx)
 Enable TX FIFO Threshold Interrupt.
__STATIC_INLINE void LL_LPUART_EnableIT_RXFT (USART_TypeDef *LPUARTx)
 Enable RX FIFO Threshold Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_IDLE (USART_TypeDef *LPUARTx)
 Disable IDLE Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_RXNE_RXFNE (USART_TypeDef *LPUARTx)
 Disable RX Not Empty and RX FIFO Not Empty Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_TC (USART_TypeDef *LPUARTx)
 Disable Transmission Complete Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_TXE_TXFNF (USART_TypeDef *LPUARTx)
 Disable TX Empty and TX FIFO Not Full 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_TXFE (USART_TypeDef *LPUARTx)
 Disable TX FIFO Empty Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_RXFF (USART_TypeDef *LPUARTx)
 Disable RX FIFO Full 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 void LL_LPUART_DisableIT_TXFT (USART_TypeDef *LPUARTx)
 Disable TX FIFO Threshold Interrupt.
__STATIC_INLINE void LL_LPUART_DisableIT_RXFT (USART_TypeDef *LPUARTx)
 Disable RX FIFO Threshold 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_RXFNE (USART_TypeDef *LPUARTx)
 Check if the LPUART RX Not Empty and LPUART RX FIFO 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_TXFNF (USART_TypeDef *LPUARTx)
 Check if the LPUART TX Empty and LPUART TX FIFO Not Full 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_TXFE (USART_TypeDef *LPUARTx)
 Check if the LPUART TX FIFO Empty Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXFF (USART_TypeDef *LPUARTx)
 Check if the LPUART RX FIFO Full 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 uint32_t LL_LPUART_IsEnabledIT_TXFT (USART_TypeDef *LPUARTx)
 Check if LPUART TX FIFO Threshold Interrupt is enabled or disabled.
__STATIC_INLINE uint32_t LL_LPUART_IsEnabledIT_RXFT (USART_TypeDef *LPUARTx)
 Check if LPUART RX FIFO Threshold 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 and FIFO 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.

Variables

static const uint16_t LPUART_PRESCALER_TAB []

Detailed Description

Header file of LPUART LL module.

Author:
MCD Application Team
Attention:

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32h7xx_ll_lpuart.h.