Dependents:   microSD_Card

Committer:
adrevong
Date:
Tue Jan 28 11:11:57 2020 +0000
Revision:
0:c9f6f3f0cd78

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
adrevong 0:c9f6f3f0cd78 1 /*-------------------------------------------*/
adrevong 0:c9f6f3f0cd78 2 /* Integer type definitions for FatFs module */
adrevong 0:c9f6f3f0cd78 3 /*-------------------------------------------*/
adrevong 0:c9f6f3f0cd78 4
adrevong 0:c9f6f3f0cd78 5 #ifndef _FF_INTEGER
adrevong 0:c9f6f3f0cd78 6 #define _FF_INTEGER
adrevong 0:c9f6f3f0cd78 7
adrevong 0:c9f6f3f0cd78 8 #ifdef _WIN32 /* Development platform */
adrevong 0:c9f6f3f0cd78 9
adrevong 0:c9f6f3f0cd78 10 #include <windows.h>
adrevong 0:c9f6f3f0cd78 11 #include <tchar.h>
adrevong 0:c9f6f3f0cd78 12
adrevong 0:c9f6f3f0cd78 13 #else /* Embedded platform */
adrevong 0:c9f6f3f0cd78 14
adrevong 0:c9f6f3f0cd78 15 /* This type MUST be 8-bit */
adrevong 0:c9f6f3f0cd78 16 typedef unsigned char BYTE;
adrevong 0:c9f6f3f0cd78 17
adrevong 0:c9f6f3f0cd78 18 /* These types MUST be 16-bit */
adrevong 0:c9f6f3f0cd78 19 typedef short SHORT;
adrevong 0:c9f6f3f0cd78 20 typedef unsigned short WORD;
adrevong 0:c9f6f3f0cd78 21 typedef unsigned short WCHAR;
adrevong 0:c9f6f3f0cd78 22
adrevong 0:c9f6f3f0cd78 23 /* These types MUST be 16-bit or 32-bit */
adrevong 0:c9f6f3f0cd78 24 typedef int INT;
adrevong 0:c9f6f3f0cd78 25 typedef unsigned int UINT;
adrevong 0:c9f6f3f0cd78 26
adrevong 0:c9f6f3f0cd78 27 /* These types MUST be 32-bit */
adrevong 0:c9f6f3f0cd78 28 typedef long LONG;
adrevong 0:c9f6f3f0cd78 29 typedef unsigned long DWORD;
adrevong 0:c9f6f3f0cd78 30
adrevong 0:c9f6f3f0cd78 31 #endif
adrevong 0:c9f6f3f0cd78 32
adrevong 0:c9f6f3f0cd78 33 #endif