HAL
LL_USART_ClockInit() is only used within HAL.
 
Symbols
loading...
Files
loading...

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.

Call Tree

Functions called by LL_USART_ClockInit()
LL_USART_ClockInit()
Type of LL_USART_ClockInit()
LL_USART_ClockInit()
all items filtered out