40 inline uint8_t
to_binary(uint8_t value) __attribute__((always_inline));
44 uint8_t high = (value >> 4);
45 uint8_t low = (value & 0x0f);
46 return ((high << 3) + (high << 1) + low);
54 inline uint8_t
to_bcd(uint8_t value) __attribute__((always_inline));
74 for (uint8_t i = 0; i < size; i++)
86 for (uint8_t i = 0; i < size; i++)
uint8_t to_binary(uint8_t value)
uint8_t to_bcd(uint8_t value)