#include <uart.h>

Collaboration diagram for smg_uart_t:

Public Attributes

uint8_t uart_nr
 
uint32_t baud_rate
 
smg_uart_mode_t mode
 
uint8_t options
 
uint8_t rx_pin
 
uint8_t tx_pin
 
uint8_t rx_headroom
 Callback when rx_buffer free space <= headroom. More...
 
uint16_t status
 All status flags reported to callback since last uart_get_status() call. More...
 
struct SerialBufferrx_buffer
 Optional receive buffer. More...
 
struct SerialBuffertx_buffer
 Optional transmit buffer. More...
 
smg_uart_callback_t callback
 Optional User callback routine. More...
 
void * param
 User-supplied callback parameter. More...
 

Member Data Documentation

◆ baud_rate

uint32_t smg_uart_t::baud_rate

◆ callback

smg_uart_callback_t smg_uart_t::callback

Optional User callback routine.

◆ mode

smg_uart_mode_t smg_uart_t::mode

◆ options

uint8_t smg_uart_t::options

◆ param

void* smg_uart_t::param

User-supplied callback parameter.

◆ rx_buffer

struct SerialBuffer* smg_uart_t::rx_buffer

Optional receive buffer.

◆ rx_headroom

uint8_t smg_uart_t::rx_headroom

Callback when rx_buffer free space <= headroom.

◆ rx_pin

uint8_t smg_uart_t::rx_pin

◆ status

uint16_t smg_uart_t::status

All status flags reported to callback since last uart_get_status() call.

◆ tx_buffer

struct SerialBuffer* smg_uart_t::tx_buffer

Optional transmit buffer.

◆ tx_pin

uint8_t smg_uart_t::tx_pin

◆ uart_nr

uint8_t smg_uart_t::uart_nr

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