X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Futil.h;h=7451cc084da9e4483977411dc1ed19eb99475d5a;hb=6a97efcea94b2d1882ba2d58c4c016a45507fb3d;hp=87636c9710bbeb2deb38edae736fe5afd5d37e91;hpb=3c822b511e7af60332a7e5a938c08bafb2516ba3;p=max%2Ftmk_keyboard.git
diff --git a/common/util.h b/common/util.h
index 87636c97..7451cc08 100644
--- a/common/util.h
+++ b/common/util.h
@@ -16,7 +16,7 @@ along with this program. If not, see .
*/
#ifndef UTIL_H
-#define UTIL_H 1
+#define UTIL_H
#include
@@ -29,6 +29,15 @@ along with this program. If not, see .
uint8_t bitpop(uint8_t bits);
+uint8_t bitpop16(uint16_t bits);
+uint8_t bitpop32(uint32_t bits);
+
uint8_t biton(uint8_t bits);
+uint8_t biton16(uint16_t bits);
+uint8_t biton32(uint32_t bits);
+
+uint8_t bitrev(uint8_t bits);
+uint16_t bitrev16(uint16_t bits);
+uint32_t bitrev32(uint32_t bits);
#endif