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