An: ErrorStatus enumeration value:
SUCCESS: USART registers related to Clock settings
are initialized according to USART_ClockInitStruct
content
ERROR: Problem occurred during USART Registers
initialization
As some bits in USART configuration registers can only be
written when the USART is disabled (USART_CR1_UE bit
=0), USART IP should be in disabled state prior calling this
function. Otherwise, ERROR result will be returned.
LL_USART_ClockStructInit
void LL_USART_ClockStructInit
(LL_USART_ClockInitTypeDef * USART_ClockInitStruct)
Set each field of a LL_USART_ClockInitTypeDef type structure to
default value.
USART_ClockInitStruct: pointer to a
LL_USART_ClockInitTypeDef structure whose fields will be
set to default values.
68.3 USART Firmware driver defines
68.3.1 USART
Clock Signal
Clock signal not provided
Datawidth
8 bits word length : Start bit, 8 data bits, n stop bits
9 bits word length : Start bit, 9 data bits, n stop bits
Communication Direction
Transmitter and Receiver are disabled
Transmitter is disabled and Receiver is enabled
Transmitter is enabled and Receiver is disabled
Transmitter and Receiver are enabled
Get Flags Defines