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
flux::bsp::UartSpec Struct Reference

One hardware UART, 8N1, no flow control. More...

#include <FluxPlatformBind.h>

Public Attributes

uint8_t port
 Port number below kMaxUartPorts.
 
hf_pin_num_t tx
 TX pin (-1 = leave unassigned)
 
hf_pin_num_t rx
 RX pin (-1 = leave unassigned)
 
hf_pin_num_t rts
 RTS / RS-485 DE pin (-1 = plain UART)
 
hf_pin_num_t cts
 CTS pin (-1 = none)
 
uint32_t baud
 Baud rate.
 
uint16_t tx_buffer_size
 Driver TX ring size (bytes)
 
uint16_t rx_buffer_size
 Driver RX ring size (bytes)
 

Detailed Description

One hardware UART, 8N1, no flow control.

Member Data Documentation

◆ baud

uint32_t flux::bsp::UartSpec::baud

Baud rate.

◆ cts

hf_pin_num_t flux::bsp::UartSpec::cts

CTS pin (-1 = none)

◆ port

uint8_t flux::bsp::UartSpec::port

Port number below kMaxUartPorts.

◆ rts

hf_pin_num_t flux::bsp::UartSpec::rts

RTS / RS-485 DE pin (-1 = plain UART)

◆ rx

hf_pin_num_t flux::bsp::UartSpec::rx

RX pin (-1 = leave unassigned)

◆ rx_buffer_size

uint16_t flux::bsp::UartSpec::rx_buffer_size

Driver RX ring size (bytes)

◆ tx

hf_pin_num_t flux::bsp::UartSpec::tx

TX pin (-1 = leave unassigned)

◆ tx_buffer_size

uint16_t flux::bsp::UartSpec::tx_buffer_size

Driver TX ring size (bytes)


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