teste de publish

Dependencies:   DS1820 HighSpeedAnalogIn devices mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CircularBuffer.h Source File

CircularBuffer.h

00001 #include "mbed.h"
00002 #ifndef _Circular_Buffer_
00003 #define _Circular_Buffer_
00004 class CircularBuffer {
00005   char *bufIn;
00006   uint16_t index;
00007   bool estouro;
00008   uint16_t tam; 
00009   bool circular; 
00010       
00011   public:
00012     CircularBuffer(uint16_t,bool);
00013     char* get();
00014     char* getRowBuffer();
00015     void putc(char);
00016     uint16_t getLength();
00017     void del();
00018     uint16_t fill(char *,uint16_t);
00019         
00020 };
00021 #endif