Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.

Dependencies:   Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers integer.h Source File

integer.h

00001 //Modified by Thomas Hamilton, Copyright 2010
00002 
00003 /*--------------------------------------------------------------------*/
00004 /* Integer type definitions for FatFs module  R0.08     (C)ChaN, 2010 */
00005 /*--------------------------------------------------------------------*/
00006 
00007 #ifndef _INTEGER
00008 #define _INTEGER
00009 
00010 #include "stdint.h"
00011 
00012 /* These types must be 16-bit, 32-bit or larger integer */
00013 typedef int             INT;
00014 typedef unsigned int    UINT;
00015 
00016 /* These types must be 8-bit integer */
00017 typedef char            CHAR;
00018 typedef unsigned char   UCHAR;
00019 typedef unsigned char   BYTE;
00020 
00021 /* These types must be 16-bit integer */
00022 typedef short           SHORT;
00023 typedef unsigned short  USHORT;
00024 typedef unsigned short  WORD;
00025 typedef unsigned short  WCHAR;
00026 
00027 /* These types must be 32-bit integer */
00028 typedef long            LONG;
00029 typedef unsigned long   ULONG;
00030 typedef unsigned long   DWORD;
00031 
00032 /* Boolean type */
00033 typedef enum { FALSE = 0, TRUE } BOOL;
00034 
00035 #endif