Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ktypes.h
- Revision:
- 0:6ce9c65992e5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ktypes.h Wed Apr 15 06:23:18 2015 +0000 @@ -0,0 +1,52 @@ +#ifndef __KTYPES_H__ +#define __KTYPES_H__ + +/* FILE: ktypes.h */ +/****************************************************************************************/ +/* MODULE NAME: None */ +/* */ +/* AUTHOR : Jacques-Olivier KLEIN */ +/* */ +/* EMAIL : jacques-olivier.klein@u-psud.fr */ +/* */ +/* INSTITUTION: IUT de CACHAN - 9 av. de la div. Leclerc - 94230 CACHAN */ +/* */ +/* DATE : 03/07/2012 */ +/* CPU : FREESCALE MC9S12XS128MAA */ +/* BOARD : CACHAN Xboard+MicroB12 */ +/* OS : None */ +/* */ +/* DESCRIPTION: D�finition des types de longueurs fixes */ +/****************************************************************************************/ + +#ifndef TRUE +#define TRUE 1 +#endif +#ifndef FALSE +#define FALSE 0 +#endif + + +typedef unsigned char UINT8; +typedef unsigned short UINT16; +typedef unsigned long UINT32; +typedef signed char SINT8; +typedef signed short SINT16; +typedef signed long SINT32; + +typedef unsigned char INT8U; +typedef unsigned short INT16U; +typedef unsigned long INT32U; +typedef signed char INT8S; +typedef signed short INT16S; +typedef signed long INT32S; + +typedef unsigned char U8; +typedef unsigned short U16; +typedef signed short S16; + +typedef volatile unsigned char VUINT8; + + +#endif +