LL_USART_ClockInit() function
Initialize USART Clock related settings according to the specified parameters in the USART_ClockInitStruct.
Arguments
USARTx
USART Instance
USART_ClockInitStruct
Pointer to a
LL_USART_ClockInitTypeDef
structure that contains the Clock configuration information for the specified USART peripheral.
Return value
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
Notes
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.
Functions called by LL_USART_ClockInit()
LL_USART_ClockInit()
Data read by LL_USART_ClockInit()
Data written by LL_USART_ClockInit()
LL_USART_ClockInit()::status all items filtered out
LL_USART_ClockInit()
LL_USART_ClockInit()::status all items filtered out
Type of LL_USART_ClockInit()
LL_USART_ClockInit()