HAL + 0/1 examples
CodeScope will show references to LL_USART_Init() from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
USART
 
Symbols
loading...
Files
loading...

LL_USART_Init() function

Initialize USART registers according to the specified parameters in USART_InitStruct.

Arguments

USARTx

USART Instance

USART_InitStruct

pointer to a LL_USART_InitTypeDef structure that contains the configuration information for the specified USART peripheral.

Return value

An ErrorStatus enumeration value: - SUCCESS: USART registers are initialized according to USART_InitStruct 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. Baud rate value stored in USART_InitStruct BaudRate field, should be valid (different from 0).

Examples

LL_USART_Init() is referenced by 1 libraries and example projects.