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-03-06 22:02:37 +11:00
2024-02-18 17:08:27 +11:00
2024-02-17 12:27:34 +00:00
2024-01-30 19:34:45 -08:00
2024-07-03 17:18:27 +10:00
2024-06-20 16:12:16 -07:00
2024-10-06 21:01:07 +13:00
2024-09-02 03:48:17 +01:00
2023-07-27 16:14:34 -07:00
2024-02-19 19:48:59 +00:00
2024-09-18 21:44:33 +10:00
2024-10-06 11:26:55 +02:00
2024-10-12 18:43:50 +02:00
2024-10-12 00:10:02 +01:00
2024-10-12 00:10:02 +01:00
2024-05-18 21:37:33 -07:00
2024-05-17 22:00:13 +00:00
2023-08-27 13:30:19 +10:00
2023-07-11 17:07:24 +10:00
2023-09-25 12:45:49 +10:00
2023-10-23 15:43:46 +11:00
2023-10-23 15:43:46 +11:00
2024-07-03 18:35:54 +10:00
2024-09-02 03:48:17 +01:00
2024-10-12 18:48:00 +02:00
2024-10-12 00:10:02 +01:00
2024-10-12 00:10:02 +01:00
2023-10-27 12:21:13 +11:00
2023-07-09 02:05:20 +01:00
2023-12-21 09:32:19 +11:00
2024-02-18 17:08:27 +11:00
2023-12-11 23:06:18 +00:00
2023-08-29 14:28:09 +01:00
2024-05-28 12:49:55 +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-02-18 17:08:27 +11:00
2024-02-18 17:08:27 +11:00
2024-02-18 17:08:27 +11:00
2024-02-17 01:14:46 +11:00
2024-04-05 15:43:52 +01:00
2023-12-11 23:06:18 +00:00
2024-01-28 22:51:58 +00:00
2024-07-03 18:35:54 +10:00
2024-08-27 10:52:23 +10:00
2023-12-11 23:06:18 +00:00
2024-10-11 06:54:53 +11:00
2024-07-16 09:22:17 +10:00
2024-06-22 09:10:58 +01:00
2024-06-22 09:10:58 +01:00
2024-03-14 21:45:12 +11:00
2023-07-16 23:42:56 +10:00
2024-07-13 18:41:05 +10:00
2024-08-19 03:18:28 +01:00
2024-08-19 03:18:28 +01:00
2024-10-06 21:50:39 +13:00
2024-02-19 15:37:51 +00:00
2024-08-27 10:52:23 +10:00
2023-12-24 06:52:41 +00:00
2024-10-12 18:43:50 +02:00
2024-10-06 21:39:21 +13:00
2023-07-25 09:20:41 +10:00
2024-07-03 18:35:54 +10:00
2023-07-16 23:42:56 +10:00
2023-11-12 18:25:46 +11:00
2024-10-12 18:48:00 +02:00
2023-09-28 11:51:18 +01:00
2023-07-16 23:42:56 +10:00