HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
EspUart::UartState Struct Reference

UART state tracking structure. More...

Collaboration diagram for EspUart::UartState:
[legend]

Public Member Functions

 UartState () noexcept
 

Public Attributes

bool configured
 UART is configured.
 
bool enabled
 UART is enabled.
 
hf_uart_config_t config
 Current configuration.
 
hf_uart_operating_mode_t operating_mode
 Current operating mode.
 
hf_uart_mode_t communication_mode
 Current communication mode.
 
hf_uart_err_t last_error
 Last error for this UART.
 

Detailed Description

UART state tracking structure.

Constructor & Destructor Documentation

◆ UartState()

EspUart::UartState::UartState ( )
inlinenoexcept

Member Data Documentation

◆ communication_mode

hf_uart_mode_t EspUart::UartState::communication_mode

Current communication mode.

◆ config

hf_uart_config_t EspUart::UartState::config

Current configuration.

◆ configured

bool EspUart::UartState::configured

UART is configured.

◆ enabled

bool EspUart::UartState::enabled

UART is enabled.

◆ last_error

hf_uart_err_t EspUart::UartState::last_error

Last error for this UART.

◆ operating_mode

hf_uart_operating_mode_t EspUart::UartState::operating_mode

Current operating mode.


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