|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
UART Init Structure definition. More...
#include <stm32h7xx_hal_uart.h>
Public Attributes | |
| uint32_t | BaudRate |
| This member configures the UART communication baud rate. | |
| uint32_t | WordLength |
| Specifies the number of data bits transmitted or received in a frame. | |
| uint32_t | StopBits |
| Specifies the number of stop bits transmitted. | |
| uint32_t | Parity |
| Specifies the parity mode. | |
| uint32_t | Mode |
| Specifies whether the Receive or Transmit mode is enabled or disabled. | |
| uint32_t | HwFlowCtl |
| Specifies whether the hardware flow control mode is enabled or disabled. | |
| uint32_t | OverSampling |
| Specifies whether the Over sampling 8 is enabled or disabled, to achieve higher speed (up to f_PCLK/8). | |
| uint32_t | OneBitSampling |
| Specifies whether a single sample or three samples' majority vote is selected. | |
| uint32_t | ClockPrescaler |
| Specifies the prescaler value used to divide the UART clock source. | |
UART Init Structure definition.
Definition at line 46 of file stm32h7xx_hal_uart.h.
| uint32_t UART_InitTypeDef::BaudRate |
This member configures the UART communication baud rate.
The baud rate register is computed using the following formula:
Definition at line 48 of file stm32h7xx_hal_uart.h.
| uint32_t UART_InitTypeDef::ClockPrescaler |
Specifies the prescaler value used to divide the UART clock source.
This parameter can be a value of UART Clock Prescaler.
Definition at line 92 of file stm32h7xx_hal_uart.h.
| 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.
Definition at line 80 of file stm32h7xx_hal_uart.h.
| 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.
Definition at line 77 of file stm32h7xx_hal_uart.h.
| 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.
Definition at line 88 of file stm32h7xx_hal_uart.h.
| 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.
Definition at line 84 of file stm32h7xx_hal_uart.h.
| uint32_t UART_InitTypeDef::Parity |
Specifies the parity mode.
This parameter can be a value of UART Parity
Definition at line 70 of file stm32h7xx_hal_uart.h.
| uint32_t UART_InitTypeDef::StopBits |
Specifies the number of stop bits transmitted.
This parameter can be a value of UART Number of Stop Bits.
Definition at line 67 of file stm32h7xx_hal_uart.h.
| 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.
Definition at line 64 of file stm32h7xx_hal_uart.h.