STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
UART_AdvFeatureInitTypeDef Struct Reference

UART Advanced Features initialization structure definition. More...

#include <stm32h7xx_hal_uart.h>

Public Attributes

uint32_t AdvFeatureInit
 Specifies which advanced UART features is initialized.
uint32_t TxPinLevelInvert
 Specifies whether the TX pin active level is inverted.
uint32_t RxPinLevelInvert
 Specifies whether the RX pin active level is inverted.
uint32_t DataInvert
 Specifies whether data are inverted (positive/direct logic vs negative/inverted logic).
uint32_t Swap
 Specifies whether TX and RX pins are swapped.
uint32_t OverrunDisable
 Specifies whether the reception overrun detection is disabled.
uint32_t DMADisableonRxError
 Specifies whether the DMA is disabled in case of reception error.
uint32_t AutoBaudRateEnable
 Specifies whether auto Baud rate detection is enabled.
uint32_t AutoBaudRateMode
 If auto Baud rate detection is enabled, specifies how the rate detection is carried out.
uint32_t MSBFirst
 Specifies whether MSB is sent first on UART line.

Detailed Description

UART Advanced Features initialization structure definition.

Definition at line 100 of file stm32h7xx_hal_uart.h.

Member Data Documentation

◆ AdvFeatureInit

uint32_t UART_AdvFeatureInitTypeDef::AdvFeatureInit

Specifies which advanced UART features is initialized.

Several Advanced Features may be initialized at the same time . This parameter can be a value of UART Advanced Feature Initialization Type.

Definition at line 102 of file stm32h7xx_hal_uart.h.

◆ AutoBaudRateEnable

uint32_t UART_AdvFeatureInitTypeDef::AutoBaudRateEnable

Specifies whether auto Baud rate detection is enabled.

This parameter can be a value of UART Advanced Feature Auto BaudRate Enable.

Definition at line 126 of file stm32h7xx_hal_uart.h.

◆ AutoBaudRateMode

uint32_t UART_AdvFeatureInitTypeDef::AutoBaudRateMode

If auto Baud rate detection is enabled, specifies how the rate detection is carried out.

This parameter can be a value of UART Advanced Feature AutoBaud Rate Mode.

Definition at line 129 of file stm32h7xx_hal_uart.h.

◆ DataInvert

uint32_t UART_AdvFeatureInitTypeDef::DataInvert

Specifies whether data are inverted (positive/direct logic vs negative/inverted logic).

This parameter can be a value of UART Advanced Feature Binary Data Inversion.

Definition at line 113 of file stm32h7xx_hal_uart.h.

◆ DMADisableonRxError

uint32_t UART_AdvFeatureInitTypeDef::DMADisableonRxError

Specifies whether the DMA is disabled in case of reception error.

This parameter can be a value of UART Advanced Feature DMA Disable On Rx Error.

Definition at line 123 of file stm32h7xx_hal_uart.h.

◆ MSBFirst

uint32_t UART_AdvFeatureInitTypeDef::MSBFirst

Specifies whether MSB is sent first on UART line.

This parameter can be a value of UART Advanced Feature MSB First.

Definition at line 133 of file stm32h7xx_hal_uart.h.

◆ OverrunDisable

uint32_t UART_AdvFeatureInitTypeDef::OverrunDisable

Specifies whether the reception overrun detection is disabled.

This parameter can be a value of UART Advanced Feature Overrun Disable.

Definition at line 120 of file stm32h7xx_hal_uart.h.

◆ RxPinLevelInvert

uint32_t UART_AdvFeatureInitTypeDef::RxPinLevelInvert

Specifies whether the RX pin active level is inverted.

This parameter can be a value of UART Advanced Feature RX Pin Active Level Inversion.

Definition at line 110 of file stm32h7xx_hal_uart.h.

◆ Swap

uint32_t UART_AdvFeatureInitTypeDef::Swap

Specifies whether TX and RX pins are swapped.

This parameter can be a value of UART Advanced Feature RX TX Pins Swap.

Definition at line 117 of file stm32h7xx_hal_uart.h.

◆ TxPinLevelInvert

uint32_t UART_AdvFeatureInitTypeDef::TxPinLevelInvert

Specifies whether the TX pin active level is inverted.

This parameter can be a value of UART Advanced Feature TX Pin Active Level Inversion.

Definition at line 107 of file stm32h7xx_hal_uart.h.


The documentation for this struct was generated from the following file: