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.
tinyQ_t Struct Reference
[Tiny Queue]
a tinyQ tracks a 4 byte queue with just 1 byte overhead More...
#include <tinyQ.h>
Data Fields | |
unsigned int | head:8 |
the bit depth MUST be that power of 2 that is the Q_SIZE | |
unsigned int | tail:8 |
the bit depth MUST be that power of 2 that is the Q_SIZE | |
unsigned int | fill:9 |
Must be 1 bit bigger than the head and tail pointers. | |
char | data [Q_SIZE] |
NOTE: Q_SIZE MUST be == 2 ^ widthof( tinyQ_t.head ) |
Detailed Description
a tinyQ tracks a 4 byte queue with just 1 byte overhead
Definition at line 14 of file tinyQ.h.
Field Documentation
Generated on Tue Jul 12 2022 23:42:02 by
