HardFOC Flux V1 HAL
Unified HAL API for the HardFOC Flux valve-control platform (ESP32-S3)
Loading...
Searching...
No Matches
Public Attributes | List of all members
CommChannelsManager::UartAcquireConfig Struct Reference

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
 

Detailed Description

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&.

Member Data Documentation

◆ baud_bps

uint32_t CommChannelsManager::UartAcquireConfig::baud_bps

◆ cts_pin

int16_t CommChannelsManager::UartAcquireConfig::cts_pin

-1 = no CTS (typical).

◆ port_number

uint8_t CommChannelsManager::UartAcquireConfig::port_number

Hardware UART port (0/1/2)

◆ rts_pin

int16_t CommChannelsManager::UartAcquireConfig::rts_pin

-1 = plain UART, else RS-485 DE/RE.

◆ rx_buffer_size

uint16_t CommChannelsManager::UartAcquireConfig::rx_buffer_size

◆ rx_pin

int16_t CommChannelsManager::UartAcquireConfig::rx_pin

GPIO; -1 to skip pin assignment.

◆ tx_buffer_size

uint16_t CommChannelsManager::UartAcquireConfig::tx_buffer_size

◆ tx_pin

int16_t CommChannelsManager::UartAcquireConfig::tx_pin

GPIO; -1 to skip pin assignment.


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