|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Abstract base class for UART driver implementations in the HardFOC system. More...
Go to the source code of this file.
Classes | |
| struct | hf_uart_statistics_t |
| UART operation statistics. More... | |
| struct | hf_uart_diagnostics_t |
| UART diagnostic information. More... | |
| class | BaseUart |
| Abstract base class for UART driver implementations. More... | |
Macros | |
| #define | HF_UART_ERR_LIST(X) |
| HardFOC UART error codes. | |
| #define | X(NAME, VALUE, DESC) NAME = VALUE, |
| #define | X(NAME, VALUE, DESC) |
Functions | |
| constexpr std::string_view | HfUartErrToString (hf_uart_err_t err) noexcept |
| Convert hf_uart_err_t to human-readable string. | |
Abstract base class for UART driver implementations in the HardFOC system.
This header-only file defines the abstract base class for UART communication that provides a consistent API across different UART controller implementations. Concrete implementations for various microcontrollers inherit from this class to provide serial communication, flow control, and data transmission features.
| #define X | ( | NAME, | |
| VALUE, | |||
| DESC ) NAME = VALUE, |
| #define X | ( | NAME, | |
| VALUE, | |||
| DESC ) |
|
strong |
|
constexprnoexcept |
Convert hf_uart_err_t to human-readable string.
| err | The error code to convert |