BCD definitions. More...
BCD definitions.
Definition in file bcd.h.
#include <stdint.h>
Go to the source code of this file.
Functions | |
static uint8_t | bcd_from_byte (uint8_t byte) |
Converts a byte to a binary coded decimal. | |
static uint8_t | bcd_to_byte (uint8_t bcd) |
Converts a binary coded decimal to a byte. | |