UM1940
Field Documentation
uint32_t LL_USART_ClockInitTypeDef::ClockOutput
Specifies whether the USART clock is enabled or disabled. This parameter can be a
value of USART_LL_EC_CLOCK.USART HW configuration can be modified
afterwards using unitary functions LL_USART_EnableSCLKOutput() or
LL_USART_DisableSCLKOutput(). For more details, refer to description of this
function.
uint32_t LL_USART_ClockInitTypeDef::ClockPolarity
Specifies the steady state of the serial clock. This parameter can be a value of
USART_LL_EC_POLARITY.USART HW configuration can be modified afterwards
using unitary functions LL_USART_SetClockPolarity(). For more details, refer to
description of this function.
uint32_t LL_USART_ClockInitTypeDef::ClockPhase
Specifies the clock transition on which the bit capture is made. This parameter can be
a value of USART_LL_EC_PHASE.USART HW configuration can be modified
afterwards using unitary functions LL_USART_SetClockPhase(). For more details,
refer to description of this function.
uint32_t LL_USART_ClockInitTypeDef::LastBitClockPulse
Specifies whether the clock pulse corresponding to the last transmitted data bit (MSB)
has to be output on the SCLK pin in synchronous mode. This parameter can be a
value of USART_LL_EC_LASTCLKPULSE.USART HW configuration can be
modified afterwards using unitary functions LL_USART_SetLastClkPulseOutput().
For more details, refer to description of this function.
68.2
USART Firmware driver API description
68.2.1
Detailed description of functions
LL_USART_Enable
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_USART_Disable
Function name
Function description
Parameters
Return values
Notes
__STATIC_INLINE void LL_USART_Enable (USART_TypeDef *
USARTx)
USART Enable.
USARTx: USART Instance
None:
CR1 UE LL_USART_Enable
__STATIC_INLINE void LL_USART_Disable (USART_TypeDef
* USARTx)
USART Disable (all USART prescalers and outputs are disabled)
USARTx: USART Instance
None:
When USART is disabled, USART prescalers and outputs are
stopped immediately, and current operations are discarded.
The configuration of the USART is kept, but all the status
DocID028236 Rev 2
LL USART Generic Driver
1243/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers