Stefan Kerkmann 5478051d74
[Core] quantum: util: add bit and bitmask helpers (#24229)
quantum: util: add bit and bitmask helpers

These helpers are handy and can prevent off-by-one errors when working
with registers and general low level bit manipulation tasks. The macros
themself are inspired by the bits.h macros from the linux kernel source
code.

Signed-off-by: Stefan Kerkmann <karlk90@pm.me>
Co-authored-by: Pascal Getreuer <50221757+getreuer@users.noreply.github.com>
2024-10-12 18:48:00 +02:00
..
2024-10-06 21:01:07 +13:00
2024-07-03 18:35:54 +10:00
2024-10-12 00:10:02 +01:00
2024-10-12 00:10:02 +01:00
2024-03-14 21:45:03 +11:00
2024-07-03 18:35:54 +10:00
2024-07-03 17:18:27 +10:00
2024-07-03 18:35:54 +10:00
2024-06-22 09:10:58 +01:00
2024-06-22 09:10:58 +01:00
2024-07-03 18:35:54 +10:00