picofuse

Data Fields
hw_uart_config_t Struct Reference

UART initialization configuration. More...

#include <uart.h>

Data Fields

const hw_gpio_tcts_pin
 Optional CTS pin for hardware flow control.
 
const hw_gpio_trts_pin
 Optional RTS pin for hardware flow control.
 
hw_uart_data_bits_t data_bits
 Number of data bits per frame.
 
hw_uart_stop_bits_t stop_bits
 Number of stop bits per frame.
 
hw_uart_parity_t parity
 Parity mode for transmitted and received frames.
 
hw_uart_flow_control_t flow_control
 Flow-control mode to enable.
 
bool unbuffered
 Set true to skip the backend's software ring buffer and transfer directly against the hardware's single-byte holding register. More...
 

Detailed Description

UART initialization configuration.

Describes optional UART settings beyond the required RX pin, TX pin, and baud rate passed directly to hw_uart_init().

When NULL is passed to hw_uart_init(), implementation defaults are used for every field here.

Definition at line 78 of file uart.h.

Field Documentation

◆ unbuffered

bool hw_uart_config_t::unbuffered

Set true to skip the backend's software ring buffer and transfer directly against the hardware's single-byte holding register.

Definition at line 85 of file uart.h.


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