UART initialization configuration. More...
#include <uart.h>
Data Fields | |
| const hw_gpio_t * | cts_pin |
| Optional CTS pin for hardware flow control. | |
| const hw_gpio_t * | rts_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... | |
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.
| bool hw_uart_config_t::unbuffered |