avruart
Data Fields
UARTcfg Struct Reference

A struct to configure the UART. More...

#include <uart.h>

Data Fields

uint8_t tx
 
uint8_t rx
 
void(* rx_callback )(void)
 
void(* tx_callback )(void)
 
void(* buff_empty )(void)
 

Detailed Description

A struct to configure the UART.

See also
init_uart_cfg

Field Documentation

§ buff_empty

void(* buff_empty) (void)

Callback function that will be called from RX ISR

§ rx

uint8_t rx

Activate RX, use the appropriate Byte for your platform

§ rx_callback

void(* rx_callback) (void)

Callback function that will be called from RX ISR

§ tx

uint8_t tx

Activate TX, use the appropriate Byte for your platform

§ tx_callback

void(* tx_callback) (void)

Callback function that will be called from TX ISR


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