P2-2 Harris Barton

Dependencies:   mbed wave_player 4DGL-uLCD-SE MMA8452

Committer:
hbarton7
Date:
Wed Nov 25 01:17:39 2020 +0000
Revision:
3:e2fb359d6545
Parent:
1:10330bce85cb
P2-2 Harris Barton;

Who changed what in which revision?

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