The code from https://github.com/vpcola/Nucleo

Committer:
sinrab
Date:
Wed Oct 08 11:00:24 2014 +0000
Revision:
0:5464d5e415e5
The code from https://github.com/vpcola/Nucleo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sinrab 0:5464d5e415e5 1 /*-------------------------------------------*/
sinrab 0:5464d5e415e5 2 /* Integer type definitions for FatFs module */
sinrab 0:5464d5e415e5 3 /*-------------------------------------------*/
sinrab 0:5464d5e415e5 4
sinrab 0:5464d5e415e5 5 #ifndef _INTEGER
sinrab 0:5464d5e415e5 6 #define _INTEGER
sinrab 0:5464d5e415e5 7
sinrab 0:5464d5e415e5 8 #ifdef _WIN32 /* FatFs development platform */
sinrab 0:5464d5e415e5 9
sinrab 0:5464d5e415e5 10 #include <windows.h>
sinrab 0:5464d5e415e5 11 #include <tchar.h>
sinrab 0:5464d5e415e5 12
sinrab 0:5464d5e415e5 13 #else /* Embedded platform */
sinrab 0:5464d5e415e5 14
sinrab 0:5464d5e415e5 15 /* These types must be 16-bit, 32-bit or larger integer */
sinrab 0:5464d5e415e5 16 typedef int INT;
sinrab 0:5464d5e415e5 17 typedef unsigned int UINT;
sinrab 0:5464d5e415e5 18
sinrab 0:5464d5e415e5 19 /* These types must be 8-bit integer */
sinrab 0:5464d5e415e5 20 typedef char CHAR;
sinrab 0:5464d5e415e5 21 typedef unsigned char UCHAR;
sinrab 0:5464d5e415e5 22 typedef unsigned char BYTE;
sinrab 0:5464d5e415e5 23
sinrab 0:5464d5e415e5 24 /* These types must be 16-bit integer */
sinrab 0:5464d5e415e5 25 typedef short SHORT;
sinrab 0:5464d5e415e5 26 typedef unsigned short USHORT;
sinrab 0:5464d5e415e5 27 typedef unsigned short WORD;
sinrab 0:5464d5e415e5 28 typedef unsigned short WCHAR;
sinrab 0:5464d5e415e5 29
sinrab 0:5464d5e415e5 30 /* These types must be 32-bit integer */
sinrab 0:5464d5e415e5 31 typedef long LONG;
sinrab 0:5464d5e415e5 32 typedef unsigned long ULONG;
sinrab 0:5464d5e415e5 33 typedef unsigned long DWORD;
sinrab 0:5464d5e415e5 34
sinrab 0:5464d5e415e5 35 #endif
sinrab 0:5464d5e415e5 36
sinrab 0:5464d5e415e5 37 #endif
sinrab 0:5464d5e415e5 38