RobOmega - PSL RoboCup / Mbed OS nRF24L01P_L432KC_CarteBlanche

Dependencies:   nRF24L01P_Hello_World nRF24L01P

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers circularBuffer.h Source File

circularBuffer.h

00001 #ifndef CIRCULAR_BUFFER_H
00002 #define CIRCULAR_BUFFER_H
00003 
00004 #define BUFFER_SIZE 128
00005 
00006 //TX
00007 void cbTxSendMessage(char* message, int length);
00008 void cbTxAddOne(char value);
00009 char cbTxGetOne();
00010 int cbTxRemainingSize();
00011 int cbTxGetDataSize();
00012 
00013 //RX
00014 void cbRxAddOne(char value);
00015 char cbRxGetOne();
00016 unsigned char cbRxIsDataAvailable();
00017 int cbRxRemainingSize();
00018 int cbRxGetDataSize();
00019 
00020 #endif