]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/bcd.h
Server: Time and Date support
[z180-stamp.git] / include / bcd.h
diff --git a/include/bcd.h b/include/bcd.h
new file mode 100644 (file)
index 0000000..efbebcc
--- /dev/null
@@ -0,0 +1,13 @@
+/*
+ * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+
+ */
+
+#ifndef BCD_H
+#define BCD_H
+
+uint_fast8_t bcd2bin(uint8_t val);
+uint8_t bin2bcd (uint_fast8_t val);
+
+#endif /* BCD_H */