Contains a number of commonly used integer types which allows a degree of portability for any code which uses them.

Dependents:   GameduinoTest SimpleGameduinoTest RobotRic WiiClassicControllerTest ... more

This contains definitions for a number of commonly used integer types. The aim is to allow a degree of portability for any code which makes use of them. If the compiler is changed and the integer types on the new compiler differ from the old one then all that is required is a change to the Types.h file and all should be well. Anyway, that's the theory.

Committer:
RichardE
Date:
Thu Nov 15 21:17:18 2012 +0000
Revision:
0:033e112463bb
Definition of commonly used types.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RichardE 0:033e112463bb 1 /*
RichardE 0:033e112463bb 2 * SOURCE FILE : Types.h
RichardE 0:033e112463bb 3 *
RichardE 0:033e112463bb 4 * Various types defined for portability.
RichardE 0:033e112463bb 5 *
RichardE 0:033e112463bb 6 */
RichardE 0:033e112463bb 7
RichardE 0:033e112463bb 8 #ifndef TypesIncluded
RichardE 0:033e112463bb 9
RichardE 0:033e112463bb 10 #define TypesIncluded
RichardE 0:033e112463bb 11
RichardE 0:033e112463bb 12 typedef unsigned char UInt8;
RichardE 0:033e112463bb 13 typedef signed char Int8;
RichardE 0:033e112463bb 14 typedef unsigned short UInt16;
RichardE 0:033e112463bb 15 typedef signed short Int16;
RichardE 0:033e112463bb 16 typedef unsigned long UInt32;
RichardE 0:033e112463bb 17 typedef signed long Int32;
RichardE 0:033e112463bb 18
RichardE 0:033e112463bb 19 #endif
RichardE 0:033e112463bb 20
RichardE 0:033e112463bb 21 /* END of Types.h */
RichardE 0:033e112463bb 22