X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Futil.h;h=7451cc084da9e4483977411dc1ed19eb99475d5a;hb=fa545c87f74833856761572ef631d20accc1d026;hp=58b7fdf14530325c4cc04f03961dadfb5ee48ee3;hpb=e324fa29187dff7868d9d7fd378e0e46d77107a5;p=tmk_firmware.git diff --git a/common/util.h b/common/util.h index 58b7fdf..7451cc0 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