#include <uart.h>

Collaboration diagram for uart_:
[legend]

Public Attributes

uint8_t uart_nr
 
uint32_t baud_rate
 
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 SerialBuffer * rx_buffer
 Optional receive buffer. More...
 
struct SerialBuffer * tx_buffer
 Optional transmit buffer. More...
 
uart_callback_t callback
 Optional User callback routine. More...
 
void * param
 User-supplied callback parameter. More...
 

Member Data Documentation

◆ baud_rate

uint32_t uart_::baud_rate

◆ callback

uart_callback_t uart_::callback

Optional User callback routine.

◆ mode

uart_mode_t uart_::mode

◆ options

uint8_t uart_::options

◆ param

void* uart_::param

User-supplied callback parameter.

◆ rx_buffer

struct SerialBuffer* uart_::rx_buffer

Optional receive buffer.

◆ rx_headroom

uint8_t uart_::rx_headroom

Callback when rx_buffer free space <= headroom.

◆ rx_pin

uint8_t uart_::rx_pin

◆ status

uint16_t uart_::status

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

◆ tx_buffer

struct SerialBuffer* uart_::tx_buffer

Optional transmit buffer.

◆ tx_pin

uint8_t uart_::tx_pin

◆ uart_nr

uint8_t uart_::uart_nr

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