Circular buffer structure. More...
#include <platform/avr-ravenlcd/uart.h>
Data Fields | |
volatile uint8_t | head |
Index to last available character in buffer. | |
volatile uint8_t | tail |
Index to first available character in buffer. | |
uint8_t | buf [BUFSIZE] |
The actual buffer used for storing characters. |
Circular buffer structure.
Definition at line 59 of file uart.h.
uint8_t tcirc_buf::buf[BUFSIZE] |
The actual buffer used for storing characters.
Definition at line 62 of file uart.h.
Referenced by uart_add_to_circ_buf(), and uart_get_from_circ_buf().
volatile uint8_t tcirc_buf::head |
Index to last available character in buffer.
Definition at line 60 of file uart.h.
Referenced by uart_add_to_circ_buf(), uart_circ_buf_has_char(), uart_clear_rx_buf(), and uart_init_circ_buf().
volatile uint8_t tcirc_buf::tail |
Index to first available character in buffer.
Definition at line 61 of file uart.h.
Referenced by uart_add_to_circ_buf(), uart_circ_buf_has_char(), uart_clear_rx_buf(), uart_get_from_circ_buf(), and uart_init_circ_buf().