|
HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
|
Lazy-acquire configuration for a hardware UART port. More...
#include <CommChannelsManager.h>
Public Attributes | |
| uint8_t | port_number |
| Hardware UART port (0/1/2) | |
| int16_t | tx_pin |
| GPIO; -1 to skip pin assignment. | |
| int16_t | rx_pin |
| GPIO; -1 to skip pin assignment. | |
| int16_t | rts_pin |
| -1 = plain UART, else RS-485 DE/RE. | |
| int16_t | cts_pin |
| -1 = no CTS (typical). | |
| uint32_t | baud_bps |
| uint16_t | tx_buffer_size |
| uint16_t | rx_buffer_size |
Lazy-acquire configuration for a hardware UART port.
Apps that own a serial sensor (BASIS-2, FDO2, …) supply this to AcquireUart(). The HAL owns the port; the app owns the device driver layered on top of the returned BaseUart&.
| uint32_t CommChannelsManager::UartAcquireConfig::baud_bps |
| int16_t CommChannelsManager::UartAcquireConfig::cts_pin |
-1 = no CTS (typical).
| uint8_t CommChannelsManager::UartAcquireConfig::port_number |
Hardware UART port (0/1/2)
| int16_t CommChannelsManager::UartAcquireConfig::rts_pin |
-1 = plain UART, else RS-485 DE/RE.
| uint16_t CommChannelsManager::UartAcquireConfig::rx_buffer_size |
| int16_t CommChannelsManager::UartAcquireConfig::rx_pin |
GPIO; -1 to skip pin assignment.
| uint16_t CommChannelsManager::UartAcquireConfig::tx_buffer_size |
| int16_t CommChannelsManager::UartAcquireConfig::tx_pin |
GPIO; -1 to skip pin assignment.