|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
Implementation of ESP32 UART controller for the HardFOC system. More...
#include "EspUart.h"#include <algorithm>#include <cstring>#include "driver/gpio.h"#include "driver/uart.h"#include "esp_err.h"#include "esp_log.h"#include "hal/uart_hal.h"#include "soc/uart_reg.h"Functions | |
| bool | IsValidUartPort (hf_port_num_t port_number) noexcept |
| bool | GetDefaultUartPins (hf_port_num_t port_number, hf_pin_num_t &tx_pin, hf_pin_num_t &rx_pin, hf_pin_num_t &rts_pin, hf_pin_num_t &cts_pin) noexcept |
Variables | |
| static const char * | TAG = "EspUart" |
Implementation of ESP32 UART controller for the HardFOC system.
This file provides the implementation for UART communication using the ESP32's built-in UART peripheral. All platform-specific types and implementations are isolated through EspTypes_UART.h. The implementation supports multiple ports, configurable baud rates and data formats, hardware flow control, interrupt-driven operation, pattern detection, and comprehensive error handling.
|
noexcept |
|
noexcept |
|
static |