Module interrupt::bitfield
Bitfield Helpers Pure functions for register bit manipulation. Freestanding-safe.
Functions
| bf_extract32 | |
| bf_insert32 | Insert field into bits [hi:lo] of val. Returns modified value. |
| bf_set32 | Set bits [hi:lo] to all 1s. |
| bf_clear32 | Clear bits [hi:lo] to all 0s. |
| bf_toggle32 | Toggle bits [hi:lo]. |
| bf_test32 | Check if bit n is set. Returns 1 if set. |
| bf_mask32 | Return a mask with bits [hi:lo] set. |
| bf_popcount32 | Count set bits in a 32-bit value. |