Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uart_periph Struct Reference

UART peripheral. More...

#include <uart.h>

Data Fields

uint8_t rx_buf [UART_RX_BUFFER_SIZE]
 
uint16_t rx_insert_idx
 
uint16_t rx_extract_idx
 
uint8_t tx_buf [UART_TX_BUFFER_SIZE]
 
uint16_t tx_insert_idx
 
uint16_t tx_extract_idx
 
uint8_t tx_running
 
void * reg_addr
 
char dev [UART_DEV_NAME_SIZE]
 

Detailed Description

UART peripheral.

Definition at line 43 of file uart.h.

Field Documentation

char uart_periph::dev[UART_DEV_NAME_SIZE]

Definition at line 56 of file uart.h.

Referenced by uart_periph_set_baudrate().

uint8_t uart_periph::rx_buf[UART_RX_BUFFER_SIZE]

Definition at line 45 of file uart.h.

Referenced by uart_handler(), uart_ISR(), and usart_irq_handler().

uint16_t uart_periph::rx_extract_idx

Definition at line 47 of file uart.h.

Referenced by uart_handler(), uart_ISR(), uart_periph_init(), and usart_irq_handler().

uint16_t uart_periph::rx_insert_idx

Definition at line 46 of file uart.h.

Referenced by uart_handler(), uart_ISR(), uart_periph_init(), and usart_irq_handler().

uint8_t uart_periph::tx_buf[UART_TX_BUFFER_SIZE]

Definition at line 49 of file uart.h.

Referenced by uart_handler(), uart_ISR(), uart_transmit(), and usart_irq_handler().

uint16_t uart_periph::tx_extract_idx
uint16_t uart_periph::tx_insert_idx
uint8_t uart_periph::tx_running

Definition at line 52 of file uart.h.

Referenced by uart_handler(), uart_ISR(), uart_periph_init(), uart_transmit(), and usart_irq_handler().


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