smg_uart_config Struct Reference

#include <uart.h>

Collaboration diagram for smg_uart_config:
[legend]

Public Attributes

uint8_t uart_nr
 
uint8_t tx_pin
 Specify 2 for alternate pin, otherwise defaults to pin 1. More...
 
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...
 
uint32_t config
 UART CONF0 register bits. More...
 
size_t rx_size
 
size_t tx_size
 
uint8_t rx_pin
 

Member Data Documentation

◆ baudrate

uint32_t smg_uart_config::baudrate

Requested baudrate; actual baudrate may differ.

◆ config

uint32_t smg_uart_config::config

UART CONF0 register bits.

◆ mode

smg_uart_mode_t smg_uart_config::mode

Whether to enable receive, transmit or both.

◆ options

uart_options_t smg_uart_config::options

◆ rx_pin

uint8_t smg_uart_config::rx_pin

◆ rx_size

size_t smg_uart_config::rx_size

◆ tx_pin

uint8_t smg_uart_config::tx_pin

Specify 2 for alternate pin, otherwise defaults to pin 1.

◆ tx_size

size_t smg_uart_config::tx_size

◆ uart_nr

uint8_t smg_uart_config::uart_nr

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