teste de publish
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
CircularBuffer.h@38:07d3907b74e5, 2018-06-08 (annotated)
- Committer:
- brunofgc
- Date:
- Fri Jun 08 22:14:21 2018 +0000
- Revision:
- 38:07d3907b74e5
- Parent:
- 37:0e95c85f0160
teste de publish para compilar no mbed-cli
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
brunofgc | 0:1c0a769988ee | 1 | #include "mbed.h" |
brunofgc | 0:1c0a769988ee | 2 | #ifndef _Circular_Buffer_ |
brunofgc | 0:1c0a769988ee | 3 | #define _Circular_Buffer_ |
brunofgc | 0:1c0a769988ee | 4 | class CircularBuffer { |
brunofgc | 0:1c0a769988ee | 5 | char *bufIn; |
brunofgc | 0:1c0a769988ee | 6 | uint16_t index; |
brunofgc | 0:1c0a769988ee | 7 | bool estouro; |
brunofgc | 37:0e95c85f0160 | 8 | uint16_t tam; |
brunofgc | 37:0e95c85f0160 | 9 | bool circular; |
brunofgc | 0:1c0a769988ee | 10 | |
brunofgc | 0:1c0a769988ee | 11 | public: |
brunofgc | 37:0e95c85f0160 | 12 | CircularBuffer(uint16_t,bool); |
brunofgc | 0:1c0a769988ee | 13 | char* get(); |
brunofgc | 0:1c0a769988ee | 14 | char* getRowBuffer(); |
brunofgc | 0:1c0a769988ee | 15 | void putc(char); |
brunofgc | 0:1c0a769988ee | 16 | uint16_t getLength(); |
brunofgc | 0:1c0a769988ee | 17 | void del(); |
brunofgc | 0:1c0a769988ee | 18 | uint16_t fill(char *,uint16_t); |
brunofgc | 0:1c0a769988ee | 19 | |
brunofgc | 0:1c0a769988ee | 20 | }; |
brunofgc | 0:1c0a769988ee | 21 | #endif |