OSDN Git Service

Renamed the first sample project.
[kozos-expbrd/kozos_expbrd.git] / firm / sample / simple_mp3_player / os / integer.h
1 /*-------------------------------------------*/\r
2 /* Integer type definitions for FatFs module */\r
3 /*-------------------------------------------*/\r
4 \r
5 #ifndef _INTEGER\r
6 #define _INTEGER\r
7 \r
8 #include "defines.h"\r
9 \r
10 /* These types must be 16-bit, 32-bit or larger integer */\r
11 typedef int16       INT;\r
12 typedef uint16      UINT;\r
13 \r
14 /* These types must be 8-bit integer */\r
15 typedef int8        CHAR;\r
16 typedef uint8       UCHAR;\r
17 typedef uint8       BYTE;\r
18 \r
19 /* These types must be 16-bit integer */\r
20 typedef int16       SHORT;\r
21 typedef uint16      USHORT;\r
22 typedef uint16      WORD;\r
23 typedef uint16      WCHAR;\r
24 \r
25 /* These types must be 32-bit integer */\r
26 typedef int32       LONG;\r
27 typedef uint32      ULONG;\r
28 typedef uint32      DWORD;\r
29 \r
30 #endif\r