|
QP/C++
|
platform-independent priority sets of 8 or 64 elements. More...
Go to the source code of this file.
Classes | |
| class | QPSet8 |
| Priority Set of up to 8 elements for building various schedulers, but also useful as a general set of up to 8 elements of any kind. More... | |
| class | QPSet64 |
| Priority Set of up to 64 elements for building various schedulers, but also useful as a general set of up to 64 elements of any kind. More... | |
Variables | |
| uint8_t const Q_ROM Q_ROM_VAR | QF_log2Lkup [256] |
| Lookup table for (log2(n) + 1), where n is the index into the table. | |
| uint8_t const Q_ROM Q_ROM_VAR | QF_pwr2Lkup [65] |
| Lookup table for (1 << ((n-1) % 8)), where n is the index into the table. | |
| uint8_t const Q_ROM Q_ROM_VAR | QF_invPwr2Lkup [65] |
| Lookup table for ~(1 << ((n-1) % 8)), where n is the index into the table. | |
| uint8_t const Q_ROM Q_ROM_VAR | QF_div8Lkup [65] |
| Lookup table for (n-1)/8. | |
platform-independent priority sets of 8 or 64 elements.
This header file must be included in those QF ports that use the cooperative multitasking QF scheduler or the QK.
Definition in file qpset.h.
| uint8_t const Q_ROM Q_ROM_VAR QF_div8Lkup[65] |
Lookup table for (n-1)/8.
Definition at line 63 of file qf_pwr2.cpp.
| uint8_t const Q_ROM Q_ROM_VAR QF_invPwr2Lkup[65] |
Lookup table for ~(1 << ((n-1) % 8)), where n is the index into the table.
Definition at line 51 of file qf_pwr2.cpp.
| uint8_t const Q_ROM Q_ROM_VAR QF_log2Lkup[256] |
Lookup table for (log2(n) + 1), where n is the index into the table.
This lookup delivers the 1-based number of the most significant 1-bit of a byte.
Definition at line 39 of file qf_log2.cpp.
| uint8_t const Q_ROM Q_ROM_VAR QF_pwr2Lkup[65] |
Lookup table for (1 << ((n-1) % 8)), where n is the index into the table.
Definition at line 39 of file qf_pwr2.cpp.
1.7.5.1