bcd.h File Reference

BCD definitions. More...

Detailed Description

BCD definitions.

Author
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de

Definition in file bcd.h.

#include <stdint.h>
+ Include dependency graph for bcd.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. More...
 
static uint8_t bcd_to_byte (uint8_t bcd)
 Converts a binary coded decimal to a byte. More...