STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_ll_usart.h File Reference

Header file of USART LL module. More...

Go to the source code of this file.

Data Structures

struct  LL_USART_InitTypeDef
 LL USART Init Structure definition. More...
 
struct  LL_USART_ClockInitTypeDef
 LL USART Clock Init Structure definition. More...
 

Functions

__STATIC_INLINE void LL_USART_Enable (USART_TypeDef *USARTx)
 USART Enable @rmtoll CR1 UE LL_USART_Enable. More...
 
__STATIC_INLINE void LL_USART_Disable (USART_TypeDef *USARTx)
 USART Disable (all USART prescalers and outputs are disabled) More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabled (const USART_TypeDef *USARTx)
 Indicate if USART is enabled @rmtoll CR1 UE LL_USART_IsEnabled. More...
 
__STATIC_INLINE void LL_USART_EnableDirectionRx (USART_TypeDef *USARTx)
 Receiver Enable (Receiver is enabled and begins searching for a start bit) @rmtoll CR1 RE LL_USART_EnableDirectionRx. More...
 
__STATIC_INLINE void LL_USART_DisableDirectionRx (USART_TypeDef *USARTx)
 Receiver Disable @rmtoll CR1 RE LL_USART_DisableDirectionRx. More...
 
__STATIC_INLINE void LL_USART_EnableDirectionTx (USART_TypeDef *USARTx)
 Transmitter Enable @rmtoll CR1 TE LL_USART_EnableDirectionTx. More...
 
__STATIC_INLINE void LL_USART_DisableDirectionTx (USART_TypeDef *USARTx)
 Transmitter Disable @rmtoll CR1 TE LL_USART_DisableDirectionTx. More...
 
__STATIC_INLINE void LL_USART_SetTransferDirection (USART_TypeDef *USARTx, uint32_t TransferDirection)
 Configure simultaneously enabled/disabled states of Transmitter and Receiver @rmtoll CR1 RE LL_USART_SetTransferDirection
CR1 TE LL_USART_SetTransferDirection. More...
 
__STATIC_INLINE uint32_t LL_USART_GetTransferDirection (const USART_TypeDef *USARTx)
 Return enabled/disabled states of Transmitter and Receiver @rmtoll CR1 RE LL_USART_GetTransferDirection
CR1 TE LL_USART_GetTransferDirection. More...
 
__STATIC_INLINE void LL_USART_SetParity (USART_TypeDef *USARTx, uint32_t Parity)
 Configure Parity (enabled/disabled and parity mode if enabled). More...
 
__STATIC_INLINE uint32_t LL_USART_GetParity (const USART_TypeDef *USARTx)
 Return Parity configuration (enabled/disabled and parity mode if enabled) @rmtoll CR1 PS LL_USART_GetParity
CR1 PCE LL_USART_GetParity. More...
 
__STATIC_INLINE void LL_USART_SetWakeUpMethod (USART_TypeDef *USARTx, uint32_t Method)
 Set Receiver Wake Up method from Mute mode. @rmtoll CR1 WAKE LL_USART_SetWakeUpMethod. More...
 
__STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod (const USART_TypeDef *USARTx)
 Return Receiver Wake Up method from Mute mode @rmtoll CR1 WAKE LL_USART_GetWakeUpMethod. More...
 
__STATIC_INLINE void LL_USART_SetDataWidth (USART_TypeDef *USARTx, uint32_t DataWidth)
 Set Word length (i.e. nb of data bits, excluding start and stop bits) @rmtoll CR1 M LL_USART_SetDataWidth. More...
 
__STATIC_INLINE uint32_t LL_USART_GetDataWidth (const USART_TypeDef *USARTx)
 Return Word length (i.e. nb of data bits, excluding start and stop bits) @rmtoll CR1 M LL_USART_GetDataWidth. More...
 
__STATIC_INLINE void LL_USART_SetOverSampling (USART_TypeDef *USARTx, uint32_t OverSampling)
 Set Oversampling to 8-bit or 16-bit mode @rmtoll CR1 OVER8 LL_USART_SetOverSampling. More...
 
__STATIC_INLINE uint32_t LL_USART_GetOverSampling (const USART_TypeDef *USARTx)
 Return Oversampling mode @rmtoll CR1 OVER8 LL_USART_GetOverSampling. More...
 
__STATIC_INLINE void LL_USART_SetLastClkPulseOutput (USART_TypeDef *USARTx, uint32_t LastBitClockPulse)
 Configure if Clock pulse of the last data bit is output to the SCLK pin or not. More...
 
__STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput (const USART_TypeDef *USARTx)
 Retrieve Clock pulse of the last data bit output configuration (Last bit Clock pulse output to the SCLK pin or not) More...
 
__STATIC_INLINE void LL_USART_SetClockPhase (USART_TypeDef *USARTx, uint32_t ClockPhase)
 Select the phase of the clock output on the SCLK pin in synchronous mode. More...
 
__STATIC_INLINE uint32_t LL_USART_GetClockPhase (const USART_TypeDef *USARTx)
 Return phase of the clock output on the SCLK pin in synchronous mode. More...
 
__STATIC_INLINE void LL_USART_SetClockPolarity (USART_TypeDef *USARTx, uint32_t ClockPolarity)
 Select the polarity of the clock output on the SCLK pin in synchronous mode. More...
 
__STATIC_INLINE uint32_t LL_USART_GetClockPolarity (const USART_TypeDef *USARTx)
 Return polarity of the clock output on the SCLK pin in synchronous mode. More...
 
__STATIC_INLINE void LL_USART_ConfigClock (USART_TypeDef *USARTx, uint32_t Phase, uint32_t Polarity, uint32_t LBCPOutput)
 Configure Clock signal format (Phase Polarity and choice about output of last bit clock pulse) More...
 
__STATIC_INLINE void LL_USART_EnableSCLKOutput (USART_TypeDef *USARTx)
 Enable Clock output on SCLK pin. More...
 
__STATIC_INLINE void LL_USART_DisableSCLKOutput (USART_TypeDef *USARTx)
 Disable Clock output on SCLK pin. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput (const USART_TypeDef *USARTx)
 Indicate if Clock output on SCLK pin is enabled. More...
 
__STATIC_INLINE void LL_USART_SetStopBitsLength (USART_TypeDef *USARTx, uint32_t StopBits)
 Set the length of the stop bits @rmtoll CR2 STOP LL_USART_SetStopBitsLength. More...
 
__STATIC_INLINE uint32_t LL_USART_GetStopBitsLength (const USART_TypeDef *USARTx)
 Retrieve the length of the stop bits @rmtoll CR2 STOP LL_USART_GetStopBitsLength. More...
 
__STATIC_INLINE void LL_USART_ConfigCharacter (USART_TypeDef *USARTx, uint32_t DataWidth, uint32_t Parity, uint32_t StopBits)
 Configure Character frame format (Datawidth, Parity control, Stop Bits) More...
 
__STATIC_INLINE void LL_USART_SetNodeAddress (USART_TypeDef *USARTx, uint32_t NodeAddress)
 Set Address of the USART node. More...
 
__STATIC_INLINE uint32_t LL_USART_GetNodeAddress (const USART_TypeDef *USARTx)
 Return 4 bit Address of the USART node as set in ADD field of CR2. More...
 
__STATIC_INLINE void LL_USART_EnableRTSHWFlowCtrl (USART_TypeDef *USARTx)
 Enable RTS HW Flow Control. More...
 
__STATIC_INLINE void LL_USART_DisableRTSHWFlowCtrl (USART_TypeDef *USARTx)
 Disable RTS HW Flow Control. More...
 
__STATIC_INLINE void LL_USART_EnableCTSHWFlowCtrl (USART_TypeDef *USARTx)
 Enable CTS HW Flow Control. More...
 
__STATIC_INLINE void LL_USART_DisableCTSHWFlowCtrl (USART_TypeDef *USARTx)
 Disable CTS HW Flow Control. More...
 
__STATIC_INLINE void LL_USART_SetHWFlowCtrl (USART_TypeDef *USARTx, uint32_t HardwareFlowControl)
 Configure HW Flow Control mode (both CTS and RTS) More...
 
__STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl (const USART_TypeDef *USARTx)
 Return HW Flow Control configuration (both CTS and RTS) More...
 
__STATIC_INLINE void LL_USART_EnableOneBitSamp (USART_TypeDef *USARTx)
 Enable One bit sampling method @rmtoll CR3 ONEBIT LL_USART_EnableOneBitSamp. More...
 
__STATIC_INLINE void LL_USART_DisableOneBitSamp (USART_TypeDef *USARTx)
 Disable One bit sampling method @rmtoll CR3 ONEBIT LL_USART_DisableOneBitSamp. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp (const USART_TypeDef *USARTx)
 Indicate if One bit sampling method is enabled @rmtoll CR3 ONEBIT LL_USART_IsEnabledOneBitSamp. More...
 
__STATIC_INLINE void LL_USART_SetBaudRate (USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t OverSampling, uint32_t BaudRate)
 Configure USART BRR register for achieving expected Baud Rate value. More...
 
__STATIC_INLINE uint32_t LL_USART_GetBaudRate (const USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t OverSampling)
 Return current Baud Rate value, according to USARTDIV present in BRR register (full BRR content), and to used Peripheral Clock and Oversampling mode values. More...
 
__STATIC_INLINE void LL_USART_EnableIrda (USART_TypeDef *USARTx)
 Enable IrDA mode. More...
 
__STATIC_INLINE void LL_USART_DisableIrda (USART_TypeDef *USARTx)
 Disable IrDA mode. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIrda (const USART_TypeDef *USARTx)
 Indicate if IrDA mode is enabled. More...
 
__STATIC_INLINE void LL_USART_SetIrdaPowerMode (USART_TypeDef *USARTx, uint32_t PowerMode)
 Configure IrDA Power Mode (Normal or Low Power) More...
 
__STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode (const USART_TypeDef *USARTx)
 Retrieve IrDA Power Mode configuration (Normal or Low Power) More...
 
__STATIC_INLINE void LL_USART_SetIrdaPrescaler (USART_TypeDef *USARTx, uint32_t PrescalerValue)
 Set Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value) More...
 
__STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler (const USART_TypeDef *USARTx)
 Return Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value) More...
 
__STATIC_INLINE void LL_USART_EnableSmartcardNACK (USART_TypeDef *USARTx)
 Enable Smartcard NACK transmission. More...
 
__STATIC_INLINE void LL_USART_DisableSmartcardNACK (USART_TypeDef *USARTx)
 Disable Smartcard NACK transmission. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK (const USART_TypeDef *USARTx)
 Indicate if Smartcard NACK transmission is enabled. More...
 
__STATIC_INLINE void LL_USART_EnableSmartcard (USART_TypeDef *USARTx)
 Enable Smartcard mode. More...
 
__STATIC_INLINE void LL_USART_DisableSmartcard (USART_TypeDef *USARTx)
 Disable Smartcard mode. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard (const USART_TypeDef *USARTx)
 Indicate if Smartcard mode is enabled. More...
 
__STATIC_INLINE void LL_USART_SetSmartcardPrescaler (USART_TypeDef *USARTx, uint32_t PrescalerValue)
 Set Smartcard prescaler value, used for dividing the USART clock source to provide the SMARTCARD Clock (5 bits value) More...
 
__STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler (const USART_TypeDef *USARTx)
 Return Smartcard prescaler value, used for dividing the USART clock source to provide the SMARTCARD Clock (5 bits value) More...
 
__STATIC_INLINE void LL_USART_SetSmartcardGuardTime (USART_TypeDef *USARTx, uint32_t GuardTime)
 Set Smartcard Guard time value, expressed in nb of baud clocks periods (GT[7:0] bits : Guard time value) More...
 
__STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime (const USART_TypeDef *USARTx)
 Return Smartcard Guard time value, expressed in nb of baud clocks periods (GT[7:0] bits : Guard time value) More...
 
__STATIC_INLINE void LL_USART_EnableHalfDuplex (USART_TypeDef *USARTx)
 Enable Single Wire Half-Duplex mode. More...
 
__STATIC_INLINE void LL_USART_DisableHalfDuplex (USART_TypeDef *USARTx)
 Disable Single Wire Half-Duplex mode. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex (const USART_TypeDef *USARTx)
 Indicate if Single Wire Half-Duplex mode is enabled. More...
 
__STATIC_INLINE void LL_USART_SetLINBrkDetectionLen (USART_TypeDef *USARTx, uint32_t LINBDLength)
 Set LIN Break Detection Length. More...
 
__STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen (const USART_TypeDef *USARTx)
 Return LIN Break Detection Length. More...
 
__STATIC_INLINE void LL_USART_EnableLIN (USART_TypeDef *USARTx)
 Enable LIN mode. More...
 
__STATIC_INLINE void LL_USART_DisableLIN (USART_TypeDef *USARTx)
 Disable LIN mode. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledLIN (const USART_TypeDef *USARTx)
 Indicate if LIN mode is enabled. More...
 
__STATIC_INLINE void LL_USART_ConfigAsyncMode (USART_TypeDef *USARTx)
 Perform basic configuration of USART for enabling use in Asynchronous Mode (UART) More...
 
__STATIC_INLINE void LL_USART_ConfigSyncMode (USART_TypeDef *USARTx)
 Perform basic configuration of USART for enabling use in Synchronous Mode. More...
 
__STATIC_INLINE void LL_USART_ConfigLINMode (USART_TypeDef *USARTx)
 Perform basic configuration of USART for enabling use in LIN Mode. More...
 
__STATIC_INLINE void LL_USART_ConfigHalfDuplexMode (USART_TypeDef *USARTx)
 Perform basic configuration of USART for enabling use in Half Duplex Mode. More...
 
__STATIC_INLINE void LL_USART_ConfigSmartcardMode (USART_TypeDef *USARTx)
 Perform basic configuration of USART for enabling use in Smartcard Mode. More...
 
__STATIC_INLINE void LL_USART_ConfigIrdaMode (USART_TypeDef *USARTx)
 Perform basic configuration of USART for enabling use in Irda Mode. More...
 
__STATIC_INLINE void LL_USART_ConfigMultiProcessMode (USART_TypeDef *USARTx)
 Perform basic configuration of USART for enabling use in Multi processor Mode (several USARTs connected in a network, one of the USARTs can be the master, its TX output connected to the RX inputs of the other slaves USARTs). More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE (const USART_TypeDef *USARTx)
 Check if the USART Parity Error Flag is set or not @rmtoll SR PE LL_USART_IsActiveFlag_PE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE (const USART_TypeDef *USARTx)
 Check if the USART Framing Error Flag is set or not @rmtoll SR FE LL_USART_IsActiveFlag_FE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE (const USART_TypeDef *USARTx)
 Check if the USART Noise error detected Flag is set or not @rmtoll SR NF LL_USART_IsActiveFlag_NE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE (const USART_TypeDef *USARTx)
 Check if the USART OverRun Error Flag is set or not @rmtoll SR ORE LL_USART_IsActiveFlag_ORE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE (const USART_TypeDef *USARTx)
 Check if the USART IDLE line detected Flag is set or not @rmtoll SR IDLE LL_USART_IsActiveFlag_IDLE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE (const USART_TypeDef *USARTx)
 Check if the USART Read Data Register Not Empty Flag is set or not @rmtoll SR RXNE LL_USART_IsActiveFlag_RXNE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC (const USART_TypeDef *USARTx)
 Check if the USART Transmission Complete Flag is set or not @rmtoll SR TC LL_USART_IsActiveFlag_TC. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE (const USART_TypeDef *USARTx)
 Check if the USART Transmit Data Register Empty Flag is set or not @rmtoll SR TXE LL_USART_IsActiveFlag_TXE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD (const USART_TypeDef *USARTx)
 Check if the USART LIN Break Detection Flag is set or not. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS (const USART_TypeDef *USARTx)
 Check if the USART CTS Flag is set or not. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK (const USART_TypeDef *USARTx)
 Check if the USART Send Break Flag is set or not @rmtoll CR1 SBK LL_USART_IsActiveFlag_SBK. More...
 
__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU (const USART_TypeDef *USARTx)
 Check if the USART Receive Wake Up from mute mode Flag is set or not @rmtoll CR1 RWU LL_USART_IsActiveFlag_RWU. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_PE (USART_TypeDef *USARTx)
 Clear Parity Error Flag. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_FE (USART_TypeDef *USARTx)
 Clear Framing Error Flag. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_NE (USART_TypeDef *USARTx)
 Clear Noise detected Flag. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_ORE (USART_TypeDef *USARTx)
 Clear OverRun Error Flag. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_IDLE (USART_TypeDef *USARTx)
 Clear IDLE line detected Flag. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_TC (USART_TypeDef *USARTx)
 Clear Transmission Complete Flag @rmtoll SR TC LL_USART_ClearFlag_TC. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_RXNE (USART_TypeDef *USARTx)
 Clear RX Not Empty Flag @rmtoll SR RXNE LL_USART_ClearFlag_RXNE. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_LBD (USART_TypeDef *USARTx)
 Clear LIN Break Detection Flag. More...
 
__STATIC_INLINE void LL_USART_ClearFlag_nCTS (USART_TypeDef *USARTx)
 Clear CTS Interrupt Flag. More...
 
__STATIC_INLINE void LL_USART_EnableIT_IDLE (USART_TypeDef *USARTx)
 Enable IDLE Interrupt @rmtoll CR1 IDLEIE LL_USART_EnableIT_IDLE. More...
 
__STATIC_INLINE void LL_USART_EnableIT_RXNE (USART_TypeDef *USARTx)
 Enable RX Not Empty Interrupt @rmtoll CR1 RXNEIE LL_USART_EnableIT_RXNE. More...
 
__STATIC_INLINE void LL_USART_EnableIT_TC (USART_TypeDef *USARTx)
 Enable Transmission Complete Interrupt @rmtoll CR1 TCIE LL_USART_EnableIT_TC. More...
 
__STATIC_INLINE void LL_USART_EnableIT_TXE (USART_TypeDef *USARTx)
 Enable TX Empty Interrupt @rmtoll CR1 TXEIE LL_USART_EnableIT_TXE. More...
 
__STATIC_INLINE void LL_USART_EnableIT_PE (USART_TypeDef *USARTx)
 Enable Parity Error Interrupt @rmtoll CR1 PEIE LL_USART_EnableIT_PE. More...
 
__STATIC_INLINE void LL_USART_EnableIT_LBD (USART_TypeDef *USARTx)
 Enable LIN Break Detection Interrupt. More...
 
__STATIC_INLINE void LL_USART_EnableIT_ERROR (USART_TypeDef *USARTx)
 Enable Error Interrupt. More...
 
__STATIC_INLINE void LL_USART_EnableIT_CTS (USART_TypeDef *USARTx)
 Enable CTS Interrupt. More...
 
__STATIC_INLINE void LL_USART_DisableIT_IDLE (USART_TypeDef *USARTx)
 Disable IDLE Interrupt @rmtoll CR1 IDLEIE LL_USART_DisableIT_IDLE. More...
 
__STATIC_INLINE void LL_USART_DisableIT_RXNE (USART_TypeDef *USARTx)
 Disable RX Not Empty Interrupt @rmtoll CR1 RXNEIE LL_USART_DisableIT_RXNE. More...
 
__STATIC_INLINE void LL_USART_DisableIT_TC (USART_TypeDef *USARTx)
 Disable Transmission Complete Interrupt @rmtoll CR1 TCIE LL_USART_DisableIT_TC. More...
 
__STATIC_INLINE void LL_USART_DisableIT_TXE (USART_TypeDef *USARTx)
 Disable TX Empty Interrupt @rmtoll CR1 TXEIE LL_USART_DisableIT_TXE. More...
 
__STATIC_INLINE void LL_USART_DisableIT_PE (USART_TypeDef *USARTx)
 Disable Parity Error Interrupt @rmtoll CR1 PEIE LL_USART_DisableIT_PE. More...
 
__STATIC_INLINE void LL_USART_DisableIT_LBD (USART_TypeDef *USARTx)
 Disable LIN Break Detection Interrupt. More...
 
__STATIC_INLINE void LL_USART_DisableIT_ERROR (USART_TypeDef *USARTx)
 Disable Error Interrupt. More...
 
__STATIC_INLINE void LL_USART_DisableIT_CTS (USART_TypeDef *USARTx)
 Disable CTS Interrupt. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE (const USART_TypeDef *USARTx)
 Check if the USART IDLE Interrupt source is enabled or disabled. @rmtoll CR1 IDLEIE LL_USART_IsEnabledIT_IDLE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE (const USART_TypeDef *USARTx)
 Check if the USART RX Not Empty Interrupt is enabled or disabled. @rmtoll CR1 RXNEIE LL_USART_IsEnabledIT_RXNE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC (const USART_TypeDef *USARTx)
 Check if the USART Transmission Complete Interrupt is enabled or disabled. @rmtoll CR1 TCIE LL_USART_IsEnabledIT_TC. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE (const USART_TypeDef *USARTx)
 Check if the USART TX Empty Interrupt is enabled or disabled. @rmtoll CR1 TXEIE LL_USART_IsEnabledIT_TXE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE (const USART_TypeDef *USARTx)
 Check if the USART Parity Error Interrupt is enabled or disabled. @rmtoll CR1 PEIE LL_USART_IsEnabledIT_PE. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD (const USART_TypeDef *USARTx)
 Check if the USART LIN Break Detection Interrupt is enabled or disabled. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR (const USART_TypeDef *USARTx)
 Check if the USART Error Interrupt is enabled or disabled. @rmtoll CR3 EIE LL_USART_IsEnabledIT_ERROR. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS (const USART_TypeDef *USARTx)
 Check if the USART CTS Interrupt is enabled or disabled. More...
 
__STATIC_INLINE void LL_USART_EnableDMAReq_RX (USART_TypeDef *USARTx)
 Enable DMA Mode for reception @rmtoll CR3 DMAR LL_USART_EnableDMAReq_RX. More...
 
__STATIC_INLINE void LL_USART_DisableDMAReq_RX (USART_TypeDef *USARTx)
 Disable DMA Mode for reception @rmtoll CR3 DMAR LL_USART_DisableDMAReq_RX. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX (const USART_TypeDef *USARTx)
 Check if DMA Mode is enabled for reception @rmtoll CR3 DMAR LL_USART_IsEnabledDMAReq_RX. More...
 
__STATIC_INLINE void LL_USART_EnableDMAReq_TX (USART_TypeDef *USARTx)
 Enable DMA Mode for transmission @rmtoll CR3 DMAT LL_USART_EnableDMAReq_TX. More...
 
__STATIC_INLINE void LL_USART_DisableDMAReq_TX (USART_TypeDef *USARTx)
 Disable DMA Mode for transmission @rmtoll CR3 DMAT LL_USART_DisableDMAReq_TX. More...
 
__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX (const USART_TypeDef *USARTx)
 Check if DMA Mode is enabled for transmission @rmtoll CR3 DMAT LL_USART_IsEnabledDMAReq_TX. More...
 
__STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr (const USART_TypeDef *USARTx)
 Get the data register address used for DMA transfer @rmtoll DR DR LL_USART_DMA_GetRegAddr. More...
 
__STATIC_INLINE uint8_t LL_USART_ReceiveData8 (const USART_TypeDef *USARTx)
 Read Receiver Data register (Receive Data value, 8 bits) @rmtoll DR DR LL_USART_ReceiveData8. More...
 
__STATIC_INLINE uint16_t LL_USART_ReceiveData9 (const USART_TypeDef *USARTx)
 Read Receiver Data register (Receive Data value, 9 bits) @rmtoll DR DR LL_USART_ReceiveData9. More...
 
__STATIC_INLINE void LL_USART_TransmitData8 (USART_TypeDef *USARTx, uint8_t Value)
 Write in Transmitter Data Register (Transmit Data value, 8 bits) @rmtoll DR DR LL_USART_TransmitData8. More...
 
__STATIC_INLINE void LL_USART_TransmitData9 (USART_TypeDef *USARTx, uint16_t Value)
 Write in Transmitter Data Register (Transmit Data value, 9 bits) @rmtoll DR DR LL_USART_TransmitData9. More...
 
__STATIC_INLINE void LL_USART_RequestBreakSending (USART_TypeDef *USARTx)
 Request Break sending @rmtoll CR1 SBK LL_USART_RequestBreakSending. More...
 
__STATIC_INLINE void LL_USART_RequestEnterMuteMode (USART_TypeDef *USARTx)
 Put USART in Mute mode @rmtoll CR1 RWU LL_USART_RequestEnterMuteMode. More...
 
__STATIC_INLINE void LL_USART_RequestExitMuteMode (USART_TypeDef *USARTx)
 Put USART in Active mode @rmtoll CR1 RWU LL_USART_RequestExitMuteMode. More...
 
ErrorStatus LL_USART_DeInit (const USART_TypeDef *USARTx)
 De-initialize USART registers (Registers restored to their default values). More...
 
ErrorStatus LL_USART_Init (USART_TypeDef *USARTx, const LL_USART_InitTypeDef *USART_InitStruct)
 Initialize USART registers according to the specified parameters in USART_InitStruct. More...
 
void LL_USART_StructInit (LL_USART_InitTypeDef *USART_InitStruct)
 Set each LL_USART_InitTypeDef field to default value. More...
 
ErrorStatus LL_USART_ClockInit (USART_TypeDef *USARTx, const LL_USART_ClockInitTypeDef *USART_ClockInitStruct)
 Initialize USART Clock related settings according to the specified parameters in the USART_ClockInitStruct. More...
 
void LL_USART_ClockStructInit (LL_USART_ClockInitTypeDef *USART_ClockInitStruct)
 Set each field of a LL_USART_ClockInitTypeDef type structure to default value. More...
 

Detailed Description

Header file of USART LL module.

Author
MCD Application Team
Attention

Copyright (c) 2016 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 stm32f4xx_ll_usart.h.