Mbed project to control a hoverboard

Dependencies:   mbed wave_player Servo 4DGL-uLCD-SE LSM9DS1_Library_cal HC_SR04_Ultrasonic_Library

Committer:
msafwan3
Date:
Wed Apr 29 22:42:25 2020 +0000
Revision:
3:bf0c46975248
Parent:
0:808403b99108
removed rtos

Who changed what in which revision?

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