XBee Firmware Library  1.6.0
Data Structures | Functions
cbuffer.h File Reference

Data Structures

struct  cbuf
 

Functions

void cbuf_append (struct cbuf *cb, uint8_t data)
 
uint8_t cbuf_data_in_buf (struct cbuf *cb)
 
void cbuf_flush (struct cbuf *cb)
 
int cbuf_get (struct cbuf *cb)
 
uint8_t cbuf_get_nocheck (struct cbuf *cb)
 
void cbuf_init (struct cbuf *cb, void *buffer, uint8_t buflen)
 
uint8_t cbuf_space_in_buf (struct cbuf *cb)
 
bool_t is_cbuf_emtpy (struct cbuf *cb)
 
bool_t is_cbuf_full (struct cbuf *cb)
 

Function Documentation

void cbuf_append ( struct cbuf cb,
uint8_t  data 
)
uint8_t cbuf_data_in_buf ( struct cbuf cb)
void cbuf_flush ( struct cbuf cb)
int cbuf_get ( struct cbuf cb)
uint8_t cbuf_get_nocheck ( struct cbuf cb)
void cbuf_init ( struct cbuf cb,
void *  buffer,
uint8_t  buflen 
)
uint8_t cbuf_space_in_buf ( struct cbuf cb)
bool_t is_cbuf_emtpy ( struct cbuf cb)
bool_t is_cbuf_full ( struct cbuf cb)