|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
ESP32 UART port configuration. More...
#include <EspTypes_UART.h>
Public Member Functions | |
| hf_uart_config_t () noexcept | |
Public Attributes | |
| hf_port_num_t | port_number |
| UART port number (0, 1, 2) | |
| hf_baud_rate_t | baud_rate |
| Baud rate in bits per second. | |
| hf_uart_data_bits_t | data_bits |
| Data bits (5-8) | |
| hf_uart_parity_t | parity |
| Parity configuration. | |
| hf_uart_stop_bits_t | stop_bits |
| Stop bits (1, 1.5, 2) | |
| hf_uart_flow_ctrl_t | flow_control |
| Hardware flow control. | |
| hf_pin_num_t | tx_pin |
| TX pin number. | |
| hf_pin_num_t | rx_pin |
| RX pin number. | |
| hf_pin_num_t | rts_pin |
| RTS pin number (optional) | |
| hf_pin_num_t | cts_pin |
| CTS pin number (optional) | |
| uint16_t | tx_buffer_size |
| TX buffer size in bytes. | |
| uint16_t | rx_buffer_size |
| RX buffer size in bytes. | |
| uint8_t | event_queue_size |
| Event queue size for interrupt mode. | |
| hf_uart_operating_mode_t | operating_mode |
| Operating mode (polling/interrupt/DMA) | |
| hf_timeout_ms_t | timeout_ms |
| Default timeout for operations. | |
| bool | enable_pattern_detection |
| Enable pattern detection. | |
| bool | enable_wakeup |
| Enable UART wakeup from sleep. | |
| bool | enable_loopback |
| Enable loopback mode for testing. | |
ESP32 UART port configuration.
|
inlinenoexcept |
| hf_baud_rate_t hf_uart_config_t::baud_rate |
Baud rate in bits per second.
| hf_pin_num_t hf_uart_config_t::cts_pin |
CTS pin number (optional)
| hf_uart_data_bits_t hf_uart_config_t::data_bits |
Data bits (5-8)
| bool hf_uart_config_t::enable_loopback |
Enable loopback mode for testing.
| bool hf_uart_config_t::enable_pattern_detection |
Enable pattern detection.
| bool hf_uart_config_t::enable_wakeup |
Enable UART wakeup from sleep.
| uint8_t hf_uart_config_t::event_queue_size |
Event queue size for interrupt mode.
| hf_uart_flow_ctrl_t hf_uart_config_t::flow_control |
Hardware flow control.
| hf_uart_operating_mode_t hf_uart_config_t::operating_mode |
Operating mode (polling/interrupt/DMA)
| hf_uart_parity_t hf_uart_config_t::parity |
Parity configuration.
| hf_port_num_t hf_uart_config_t::port_number |
UART port number (0, 1, 2)
| hf_pin_num_t hf_uart_config_t::rts_pin |
RTS pin number (optional)
| uint16_t hf_uart_config_t::rx_buffer_size |
RX buffer size in bytes.
| hf_pin_num_t hf_uart_config_t::rx_pin |
RX pin number.
| hf_uart_stop_bits_t hf_uart_config_t::stop_bits |
Stop bits (1, 1.5, 2)
| hf_timeout_ms_t hf_uart_config_t::timeout_ms |
Default timeout for operations.
| uint16_t hf_uart_config_t::tx_buffer_size |
TX buffer size in bytes.
| hf_pin_num_t hf_uart_config_t::tx_pin |
TX pin number.