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

Dependents:   Sensitive

Fork of PokittoLib by Jonne Valola

Committer:
spinal
Date:
Wed Oct 18 14:47:54 2017 +0000
Revision:
15:0bbe8f6fae32
Parent:
0:e8b8f36b4505
direct lcd stuff used by sensitive

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 0:e8b8f36b4505 1 /*-------------------------------------------*/
Pokitto 0:e8b8f36b4505 2 /* Integer type definitions for FatFs module */
Pokitto 0:e8b8f36b4505 3 /*-------------------------------------------*/
Pokitto 0:e8b8f36b4505 4
Pokitto 0:e8b8f36b4505 5 #ifndef _INTEGER
Pokitto 0:e8b8f36b4505 6
Pokitto 0:e8b8f36b4505 7 /* These types must be 16-bit, 32-bit or larger integer */
Pokitto 0:e8b8f36b4505 8 typedef int INT;
Pokitto 0:e8b8f36b4505 9 typedef unsigned int UINT;
Pokitto 0:e8b8f36b4505 10
Pokitto 0:e8b8f36b4505 11 /* These types must be 8-bit integer */
Pokitto 0:e8b8f36b4505 12 typedef signed char CHAR;
Pokitto 0:e8b8f36b4505 13 typedef unsigned char UCHAR;
Pokitto 0:e8b8f36b4505 14 typedef unsigned char BYTE;
Pokitto 0:e8b8f36b4505 15
Pokitto 0:e8b8f36b4505 16 /* These types must be 16-bit integer */
Pokitto 0:e8b8f36b4505 17 typedef short SHORT;
Pokitto 0:e8b8f36b4505 18 typedef unsigned short USHORT;
Pokitto 0:e8b8f36b4505 19 typedef unsigned short WORD;
Pokitto 0:e8b8f36b4505 20 typedef unsigned short WCHAR;
Pokitto 0:e8b8f36b4505 21
Pokitto 0:e8b8f36b4505 22 /* These types must be 32-bit integer */
Pokitto 0:e8b8f36b4505 23 typedef long LONG;
Pokitto 0:e8b8f36b4505 24 typedef unsigned long ULONG;
Pokitto 0:e8b8f36b4505 25 typedef unsigned long DWORD;
Pokitto 0:e8b8f36b4505 26
Pokitto 0:e8b8f36b4505 27 /* Boolean type */
Pokitto 0:e8b8f36b4505 28 // typedef enum { FALSE = 0, TRUE } BOOL; // for soe reason does not work, but otoh isnt used anywhere
Pokitto 0:e8b8f36b4505 29
Pokitto 0:e8b8f36b4505 30 #define _INTEGER
Pokitto 0:e8b8f36b4505 31 #endif
Pokitto 0:e8b8f36b4505 32