Structure typedef added for future implementation.

This commit is contained in:
Kai Lauterbach 2011-12-18 13:47:34 +01:00
parent 6abbbcf78a
commit ff3ca89f2e

19
firmware/type.h Normal file
View file

@ -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 <avr/io.h>
typedef struct
{
uint32_t frame: 27;
uint32_t level: 2; // 00 01 10
uint32_t mode: 3;
} cube_t;