aversive_10-03-12/modules/base/cirbuf/cirbuf.c File Reference

#include <string.h>
#include <cirbuf.h>

Go to the source code of this file.

Functions

void cirbuf_init (struct cirbuf *cbuf, char *buf, cirbuf_uint start, cirbuf_uint maxlen)


Function Documentation

void cirbuf_init ( struct cirbuf cbuf,
char *  buf,
cirbuf_uint  start,
cirbuf_uint  maxlen 
)

Init the circular buffer

Definition at line 29 of file cirbuf.c.

References cirbuf::buf, cirbuf::end, cirbuf::len, cirbuf::maxlen, and cirbuf::start.

Referenced by rdline_char_in(), rdline_init(), rdline_newline(), and uart_setconf().


Generated on Fri Mar 12 06:32:05 2010 for AVR by  doxygen 1.5.6