Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: nRF24L01P_Hello_World nRF24L01P
circularBuffer.h@5:668dd9395ca5, 2021-04-16 (annotated)
- Committer:
- voltxd
- Date:
- Fri Apr 16 16:01:03 2021 +0000
- Revision:
- 5:668dd9395ca5
ok;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
voltxd | 5:668dd9395ca5 | 1 | #ifndef CIRCULAR_BUFFER_H |
voltxd | 5:668dd9395ca5 | 2 | #define CIRCULAR_BUFFER_H |
voltxd | 5:668dd9395ca5 | 3 | |
voltxd | 5:668dd9395ca5 | 4 | #define BUFFER_SIZE 128 |
voltxd | 5:668dd9395ca5 | 5 | |
voltxd | 5:668dd9395ca5 | 6 | //TX |
voltxd | 5:668dd9395ca5 | 7 | void cbTxSendMessage(char* message, int length); |
voltxd | 5:668dd9395ca5 | 8 | void cbTxAddOne(char value); |
voltxd | 5:668dd9395ca5 | 9 | char cbTxGetOne(); |
voltxd | 5:668dd9395ca5 | 10 | int cbTxRemainingSize(); |
voltxd | 5:668dd9395ca5 | 11 | int cbTxGetDataSize(); |
voltxd | 5:668dd9395ca5 | 12 | |
voltxd | 5:668dd9395ca5 | 13 | //RX |
voltxd | 5:668dd9395ca5 | 14 | void cbRxAddOne(char value); |
voltxd | 5:668dd9395ca5 | 15 | char cbRxGetOne(); |
voltxd | 5:668dd9395ca5 | 16 | unsigned char cbRxIsDataAvailable(); |
voltxd | 5:668dd9395ca5 | 17 | int cbRxRemainingSize(); |
voltxd | 5:668dd9395ca5 | 18 | int cbRxGetDataSize(); |
voltxd | 5:668dd9395ca5 | 19 | |
voltxd | 5:668dd9395ca5 | 20 | #endif |