X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Futil.h;h=7451cc084da9e4483977411dc1ed19eb99475d5a;hb=4e36159be226e544dfebbe06b1955261951209a4;hp=58b7fdf14530325c4cc04f03961dadfb5ee48ee3;hpb=38bbe976e00a9a7bf6f8157016717e80503bf6a9;p=max%2Ftmk_keyboard.git diff --git a/common/util.h b/common/util.h index 58b7fdf1..7451cc08 100644 --- a/common/util.h +++ b/common/util.h @@ -30,7 +30,14 @@ 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