From ff3ca89f2e0367c58e59ac137fbdbcc58e952694 Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Sun, 18 Dec 2011 13:47:34 +0100 Subject: [PATCH] Structure typedef added for future implementation. --- firmware/type.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 firmware/type.h diff --git a/firmware/type.h b/firmware/type.h new file mode 100644 index 0000000..80996ec --- /dev/null +++ b/firmware/type.h @@ -0,0 +1,19 @@ +/* CTHN.de MiniLEDCube + * + * Kai Lauterbach (klaute at web dot de) + * + * Based on http://mosfetkiller.de/?s=miniledcube + * + * License: General Public License (GPL v3) + * + */ + +#include + +typedef struct +{ + uint32_t frame: 27; + uint32_t level: 2; // 00 01 10 + uint32_t mode: 3; +} cube_t; +