HAL
UART_InitTypeDef is only used within HAL.
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
uint32_t
This member configures the UART communication baud rate. The baud rate is computed using the following formula: - IntegerDivider = ((PCLKx) / (8 * (OVR8+1) * (huart->Init.BaudRate))) - FractionalDivider = ((IntegerDivider - ((uint32_t) IntegerDivider)) * 8 * (OVR8+1)) + 0.5 Where OVR8 is the "oversampling by 8 mode" configuration bit in the CR1 register.
uint32_t
Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of UART_Word_Length.
uint32_t
Specifies the number of stop bits transmitted. This parameter can be a value of UART_Stop_Bits.
uint32_t
Specifies the parity mode. This parameter can be a value of UART_Parity.
uint32_t
Specifies whether the Receive or Transmit mode is enabled or disabled. This parameter can be a value of UART_Mode.
uint32_t
Specifies whether the hardware flow control mode is enabled or disabled. This parameter can be a value of UART_Hardware_Flow_Control.
uint32_t
Specifies whether the Over sampling 8 is enabled or disabled, to achieve higher speed (up to fPCLK/8). This parameter can be a value of UART_Over_Sampling.

References

from examples