#include <inttypes.h>
#include <mav_common/comm_packets.h>
Go to the source code of this file.
Classes |
struct | Fifo |
struct | PacketInfo |
Defines |
#define | PACKET_INFO_SIZE 64 |
#define | RBFREE 2 |
#define | RBREAD 0 |
#define | RBWRITE 1 |
#define | RINGBUFFERSIZE 384 |
#define | UART0_RX_BUFFERSIZE 512 |
#define | UART0_TX_BUFFERSIZE 512 |
Functions |
void | __putchar (int) |
uint16_t | crc16 (void *, uint16_t count, uint16_t prev_crc) |
uint16_t | crc_update (uint16_t, uint8_t) |
uint16_t | Fifo_availableMemory (Fifo *fifo) |
void | Fifo_initialize (Fifo *fifo, uint8_t *buffer, uint32_t bufferSize) |
uint8_t | Fifo_readByte (Fifo *fifo, uint8_t *byte) |
void | Fifo_reset (Fifo *fifo) |
uint8_t | Fifo_writeBlock (Fifo *fifo, void *data, uint32_t length) |
uint8_t | Fifo_writeByte (Fifo *fifo, uint8_t byte) |
void | parseRxFifo (void) |
PacketInfo * | registerPacket (uint8_t descriptor, void *data) |
int | ringbuffer (unsigned char, unsigned char *, unsigned int) |
void | startAutoBaud (void) |
void | UART0_rxFlush (void) |
int | UART0_txEmpty (void) |
void | UART0_txFlush (void) |
uint8_t | UART0_writeFifo (void *data, uint32_t length) |
void | uart0ISR (void) |
void | UART_send (char *, unsigned char) |
void | UART_send_ringbuffer (void) |
void | UARTInitialize (unsigned int) |
unsigned char | UARTReadChar (void) |
void | UARTWriteChar (unsigned char) |
int | writePacket2Ringbuffer (uint8_t descriptor, void *data, uint8_t length) |
Variables |
volatile char | autobaud_in_progress |
short | uart0_min_rx_buffer |
short | uart0_min_tx_buffer |
volatile unsigned int | UART_rxGoodPacketCount |
volatile unsigned int | UART_rxPacketCount |
Define Documentation
Function Documentation
uint16_t crc16 |
( |
void * |
, |
|
|
uint16_t |
count, |
|
|
uint16_t |
prev_crc |
|
) |
| |
int ringbuffer |
( |
unsigned |
char, |
|
|
unsigned char * |
, |
|
|
unsigned |
int |
|
) |
| |
Variable Documentation