Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
SDFileSystem/FATFileSystem/Core/integer.h@0:826c6171fc1b, 2012-06-20 (annotated)
- Committer:
- shimniok
- Date:
- Wed Jun 20 14:57:48 2012 +0000
- Revision:
- 0:826c6171fc1b
Updated documentation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 0:826c6171fc1b | 1 | //Modified by Thomas Hamilton, Copyright 2010 |
shimniok | 0:826c6171fc1b | 2 | |
shimniok | 0:826c6171fc1b | 3 | /*--------------------------------------------------------------------*/ |
shimniok | 0:826c6171fc1b | 4 | /* Integer type definitions for FatFs module R0.08 (C)ChaN, 2010 */ |
shimniok | 0:826c6171fc1b | 5 | /*--------------------------------------------------------------------*/ |
shimniok | 0:826c6171fc1b | 6 | |
shimniok | 0:826c6171fc1b | 7 | #ifndef _INTEGER |
shimniok | 0:826c6171fc1b | 8 | #define _INTEGER |
shimniok | 0:826c6171fc1b | 9 | |
shimniok | 0:826c6171fc1b | 10 | #include "stdint.h" |
shimniok | 0:826c6171fc1b | 11 | |
shimniok | 0:826c6171fc1b | 12 | /* These types must be 16-bit, 32-bit or larger integer */ |
shimniok | 0:826c6171fc1b | 13 | typedef int INT; |
shimniok | 0:826c6171fc1b | 14 | typedef unsigned int UINT; |
shimniok | 0:826c6171fc1b | 15 | |
shimniok | 0:826c6171fc1b | 16 | /* These types must be 8-bit integer */ |
shimniok | 0:826c6171fc1b | 17 | typedef char CHAR; |
shimniok | 0:826c6171fc1b | 18 | typedef unsigned char UCHAR; |
shimniok | 0:826c6171fc1b | 19 | typedef unsigned char BYTE; |
shimniok | 0:826c6171fc1b | 20 | |
shimniok | 0:826c6171fc1b | 21 | /* These types must be 16-bit integer */ |
shimniok | 0:826c6171fc1b | 22 | typedef short SHORT; |
shimniok | 0:826c6171fc1b | 23 | typedef unsigned short USHORT; |
shimniok | 0:826c6171fc1b | 24 | typedef unsigned short WORD; |
shimniok | 0:826c6171fc1b | 25 | typedef unsigned short WCHAR; |
shimniok | 0:826c6171fc1b | 26 | |
shimniok | 0:826c6171fc1b | 27 | /* These types must be 32-bit integer */ |
shimniok | 0:826c6171fc1b | 28 | typedef long LONG; |
shimniok | 0:826c6171fc1b | 29 | typedef unsigned long ULONG; |
shimniok | 0:826c6171fc1b | 30 | typedef unsigned long DWORD; |
shimniok | 0:826c6171fc1b | 31 | |
shimniok | 0:826c6171fc1b | 32 | /* Boolean type */ |
shimniok | 0:826c6171fc1b | 33 | typedef enum { FALSE = 0, TRUE } BOOL; |
shimniok | 0:826c6171fc1b | 34 | |
shimniok | 0:826c6171fc1b | 35 | #endif |