HAL
USART_InitTypeDef::WordLength is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALUSART_InitTypeDef::WordLength

USART_InitTypeDef::WordLength field

Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of USART_Word_Length

Syntax

uint32_t WordLength;

References

LocationReferrerText
stm32f4xx_hal_usart.h:53
uint32_t WordLength; /*!< Specifies the number of data bits transmitted or received in a frame.
stm32f4xx_hal_usart.c:769HAL_USART_Transmit()
stm32f4xx_hal_usart.c:857HAL_USART_Receive()
stm32f4xx_hal_usart.c:894HAL_USART_Receive()
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
stm32f4xx_hal_usart.c:953HAL_USART_TransmitReceive()
stm32f4xx_hal_usart.c:975HAL_USART_TransmitReceive()
stm32f4xx_hal_usart.c:1031HAL_USART_TransmitReceive()
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
stm32f4xx_hal_usart.c:2502USART_Transmit_IT()
stm32f4xx_hal_usart.c:2569USART_Receive_IT()
stm32f4xx_hal_usart.c:2581USART_Receive_IT()
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
stm32f4xx_hal_usart.c:2649USART_TransmitReceive_IT()
stm32f4xx_hal_usart.c:2674USART_TransmitReceive_IT()
stm32f4xx_hal_usart.c:2682USART_TransmitReceive_IT()
if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE)))
stm32f4xx_hal_usart.c:2782USART_SetConfig()
tmpreg |= (uint32_t)husart->Init.WordLength | husart->Init.Parity | husart->Init.Mode | USART_CR1_OVER8;

Data Use

Functions reading USART_InitTypeDef::WordLength
USART_InitTypeDef::WordLength
Type of USART_InitTypeDef::WordLength
USART_InitTypeDef::WordLength
uint32_t
all items filtered out