1 #ifndef __BCD_H_INCLUDE
2 #define __BCD_H_INCLUDE
14 #define BCD_HEX(v) ((BCD)(v))
20 #define MAKE_BCD(v) BCD_HEX(0x ## v)
void bcd_add(BCD *sour, const BCD *value) OLDCALL
uint32_t BCD
Definition: bcd.h:22
void bcd_sub(BCD *sour, const BCD *value) OLDCALL
uint8_t bcd2text(const BCD *bcd, uint8_t tile_offset, uint8_t *buffer) OLDCALL
void uint2bcd(uint16_t i, BCD *value) OLDCALL
unsigned long int uint32_t
Definition: stdint.h:53
unsigned char uint8_t
Definition: stdint.h:51
unsigned short int uint16_t
Definition: stdint.h:52