uart_config Struct Reference
#include <uart.h>
Collaboration diagram for uart_config:
Public Attributes | |
| uint8_t | uart_nr |
| uint8_t | tx_pin |
| Specify 2 for alternate pin, otherwise defaults to pin 1. More... | |
| uart_mode_t | mode |
| Whether to enable receive, transmit or both. More... | |
| uart_options_t | options |
| uint32_t | baudrate |
| Requested baudrate; actual baudrate may differ. More... | |
| uint32_t | config |
| UART CONF0 register bits. More... | |
| size_t | rx_size |
| size_t | tx_size |
Member Data Documentation
◆ baudrate
| uint32_t uart_config::baudrate |
Requested baudrate; actual baudrate may differ.
◆ config
| uint32_t uart_config::config |
UART CONF0 register bits.
◆ mode
| uart_mode_t uart_config::mode |
Whether to enable receive, transmit or both.
◆ options
| uart_options_t uart_config::options |
◆ rx_size
| size_t uart_config::rx_size |
◆ tx_pin
| uint8_t uart_config::tx_pin |
Specify 2 for alternate pin, otherwise defaults to pin 1.
◆ tx_size
| size_t uart_config::tx_size |
◆ uart_nr
| uint8_t uart_config::uart_nr |
The documentation for this struct was generated from the following file:
1.8.13