#include <stdbool.h>
#include <stdint.h>
|
| static void | pbl_bitset8_set (uint8_t *bitset, unsigned int index) |
| | Set a bit in a byte-array bit set.
|
| |
| static void | pbl_bitset8_clear (uint8_t *bitset, unsigned int index) |
| | Clear a bit in a byte-array bit set.
|
| |
| static void | pbl_bitset8_update (uint8_t *bitset, unsigned int index, bool value) |
| | Set or clear a bit in a byte-array bit set.
|
| |
| static bool | pbl_bitset8_get (const uint8_t *bitset, unsigned int index) |
| | Test a bit in a byte-array bit set.
|
| |
| static void | pbl_bitset32_set (uint32_t *bitset, unsigned int index) |
| | Set a bit in a word-array bit set.
|
| |
| static void | pbl_bitset32_clear (uint32_t *bitset, unsigned int index) |
| | Clear a bit in a word-array bit set.
|
| |
| static void | pbl_bitset32_update (uint32_t *bitset, unsigned int index, bool value) |
| | Set or clear a bit in a word-array bit set.
|
| |
| static bool | pbl_bitset32_get (const uint32_t *bitset, unsigned int index) |
| | Test a bit in a word-array bit set.
|
| |
| static uint32_t | pbl_rotl32 (uint32_t x, unsigned int shift) |
| | Rotate a 32-bit value left.
|
| |
| static uint8_t | pbl_bitrev8 (uint8_t v) |
| | Reverse the bit order of a byte.
|
| |