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: MODSERIAL Terminal mbed
tinyQ_t Struct Reference
[Tiny Queue]
a tinyQ tracks a 8 * queue with just 1 byte overhead More...
#include <TinyQueue.h>
Data Fields | |
| unsigned char | head:8 |
| the bit depth MUST be that power of 2 that is the Q_SIZE | |
| unsigned char | tail:8 |
| the bit depth MUST be that power of 2 that is the Q_SIZE | |
| unsigned char | fill:9 |
| Must be 1 bit bigger than the head and tail pointers. | |
| void * | data [Q_SIZE] |
| NOTE: Q_SIZE MUST be == 2 ^ widthof( tinyQ_t.head ) | |
Detailed Description
a tinyQ tracks a 8 * queue with just 1 byte overhead
Definition at line 15 of file TinyQueue.h.
Field Documentation
| unsigned char head |
the bit depth MUST be that power of 2 that is the Q_SIZE
Definition at line 17 of file TinyQueue.h.
Generated on Wed Jul 13 2022 07:44:32 by
1.7.2