HAL + 0/8 examples
CodeScope will show references to LL_USART_ConfigCharacter() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_USART_ConfigCharacter()

LL_USART_ConfigCharacter() function

Configure Character frame format (Datawidth, Parity control, Stop Bits)

Syntax

__STATIC_INLINE void LL_USART_ConfigCharacter(USART_TypeDef *USARTx,     uint32_t DataWidth,     uint32_t Parity,     uint32_t StopBits);

Arguments

USARTx

USART Instance

DataWidth

This parameter can be one of the following values: @arg LL_USART_DATAWIDTH_8B @arg LL_USART_DATAWIDTH_9B

Parity

This parameter can be one of the following values: @arg LL_USART_PARITY_NONE @arg LL_USART_PARITY_EVEN @arg LL_USART_PARITY_ODD

StopBits

This parameter can be one of the following values: @arg LL_USART_STOPBITS_0_5 @arg LL_USART_STOPBITS_1 @arg LL_USART_STOPBITS_1_5 @arg LL_USART_STOPBITS_2

Return value

None

Notes

Call of this function is equivalent to following function call sequence : - Data Width configuration using LL_USART_SetDataWidth() function - Parity Control and mode configuration using LL_USART_SetParity() function - Stop bits configuration using LL_USART_SetStopBitsLength() function CR1 PCE LL_USART_ConfigCharacter\n CR1 M LL_USART_ConfigCharacter\n CR2 STOP LL_USART_ConfigCharacter

Examples

LL_USART_ConfigCharacter() is referenced by 8 libraries and example projects.

References

LocationText
stm32f4xx_ll_usart.h:850
__STATIC_INLINE void LL_USART_ConfigCharacter(USART_TypeDef *USARTx, uint32_t DataWidth, uint32_t Parity,