From ba78bd9ba834260d035a9830726afc34fdad2a15 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 18 Oct 2009 23:32:54 +0200 Subject: import firmware from LEGO v1.05 --- AT91SAM7S256/Source/stdconst.h | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 AT91SAM7S256/Source/stdconst.h (limited to 'AT91SAM7S256/Source/stdconst.h') diff --git a/AT91SAM7S256/Source/stdconst.h b/AT91SAM7S256/Source/stdconst.h new file mode 100644 index 0000000..81bf972 --- /dev/null +++ b/AT91SAM7S256/Source/stdconst.h @@ -0,0 +1,48 @@ +// +// Programmer +// +// Date init 14.12.2004 +// +// Reviser $Author:: Us8jamlo $ +// +// Revision date $Date:: 3/04/05 2:59p $ +// +// Filename $Workfile:: stdconst.h $ +// +// Version $Revision:: 3 $ +// +// Archive $Archive:: /LMS2006/Sys01/Main/Firmware/Source/stdconst.h $ +// +// Platform C +// + + +#ifndef STDCONST +#define STDCONST + +#ifndef NULL +#define NULL ((void *)0) +#endif + +#define TRUE 1 +#define FALSE 0 + +typedef unsigned char UCHAR; +typedef unsigned short USHORT; + +typedef unsigned char UBYTE; +typedef signed char SBYTE; +typedef unsigned short int UWORD; +typedef signed short int SWORD; +typedef unsigned long ULONG; +typedef signed long SLONG; + +typedef ULONG* PULONG; +typedef USHORT* PUSHORT; +typedef UCHAR* PUCHAR; +typedef char* PSZ; + +#define BASETYPES + + +#endif -- cgit v1.2.3