My Project
|
UART Init Structure definition. More...
#include <stm32f3xx_hal_uart.h>
Public Attributes | |
uint32_t | BaudRate |
uint32_t | WordLength |
uint32_t | StopBits |
uint32_t | Parity |
uint32_t | Mode |
uint32_t | HwFlowCtl |
uint32_t | OverSampling |
uint32_t | OneBitSampling |
UART Init Structure definition.
uint32_t UART_InitTypeDef::BaudRate |
This member configures the UART communication baud rate. The baud rate register is computed using the following formula:
uint32_t UART_InitTypeDef::HwFlowCtl |
Specifies whether the hardware flow control mode is enabled or disabled. This parameter can be a value of UART Hardware Flow Control.
uint32_t UART_InitTypeDef::Mode |
Specifies whether the Receive or Transmit mode is enabled or disabled. This parameter can be a value of UART Transfer Mode.
uint32_t UART_InitTypeDef::OneBitSampling |
Specifies whether a single sample or three samples' majority vote is selected. Selecting the single sample method increases the receiver tolerance to clock deviations. This parameter can be a value of UART One Bit Sampling Method.
uint32_t UART_InitTypeDef::OverSampling |
Specifies whether the Over sampling 8 is enabled or disabled, to achieve higher speed (up to f_PCLK/8). This parameter can be a value of UART Over Sampling.
uint32_t UART_InitTypeDef::Parity |
Specifies the parity mode. This parameter can be a value of UART Parity
uint32_t UART_InitTypeDef::StopBits |
Specifies the number of stop bits transmitted. This parameter can be a value of UART Number of Stop Bits.
uint32_t UART_InitTypeDef::WordLength |
Specifies the number of data bits transmitted or received in a frame. This parameter can be a value of UARTEx Word Length.