PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   Sensitive

Fork of PokittoLib by Jonne Valola

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers integer.h Source File

integer.h

00001 /*-------------------------------------------*/
00002 /* Integer type definitions for FatFs module */
00003 /*-------------------------------------------*/
00004 
00005 #ifndef _INTEGER
00006 
00007 /* These types must be 16-bit, 32-bit or larger integer */
00008 typedef int                INT;
00009 typedef unsigned int    UINT;
00010 
00011 /* These types must be 8-bit integer */
00012 typedef signed char        CHAR;
00013 typedef unsigned char    UCHAR;
00014 typedef unsigned char    BYTE;
00015 
00016 /* These types must be 16-bit integer */
00017 typedef short            SHORT;
00018 typedef unsigned short    USHORT;
00019 typedef unsigned short    WORD;
00020 typedef unsigned short    WCHAR;
00021 
00022 /* These types must be 32-bit integer */
00023 typedef long            LONG;
00024 typedef unsigned long    ULONG;
00025 typedef unsigned long    DWORD;
00026 
00027 /* Boolean type */
00028 // typedef enum { FALSE = 0, TRUE } BOOL; // for soe reason does not work, but otoh isnt used anywhere
00029 
00030 #define _INTEGER
00031 #endif
00032