APM:Libraries
Public Attributes | List of all members
usart_state Struct Reference

#include <usart.h>

Public Attributes

Handler callback
 
uint8_t txbusy
 
uint8_t rx_buf [USART_RX_BUF_SIZE]
 
uint8_t tx_buf [USART_TX_BUF_SIZE]
 
uint8_t is_used
 

Detailed Description

Definition at line 21 of file usart.h.

Member Data Documentation

◆ callback

Handler usart_state::callback

Definition at line 22 of file usart.h.

Referenced by usart_rx_irq(), usart_set_callback(), and usart_setup().

◆ is_used

uint8_t usart_state::is_used

Definition at line 29 of file usart.h.

Referenced by usart_disable(), usart_enable(), and usart_is_used().

◆ rx_buf

uint8_t usart_state::rx_buf[USART_RX_BUF_SIZE]

Definition at line 26 of file usart.h.

Referenced by usart_setup().

◆ tx_buf

uint8_t usart_state::tx_buf[USART_TX_BUF_SIZE]

Definition at line 27 of file usart.h.

Referenced by usart_setup().

◆ txbusy

uint8_t usart_state::txbusy

Definition at line 24 of file usart.h.

Referenced by usart_reset_tx(), usart_setup(), usart_tx(), and usart_tx_irq().


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