test
Dependencies: FatFileSystem TextLCD mbed
type.h@0:2c37ad282618, 2012-09-18 (annotated)
- Committer:
- y_notsu
- Date:
- Tue Sep 18 07:24:22 2012 +0000
- Revision:
- 0:2c37ad282618
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
y_notsu | 0:2c37ad282618 | 1 | /***************************************************************************** |
y_notsu | 0:2c37ad282618 | 2 | * type.h: Type definition Header file for NXP Family |
y_notsu | 0:2c37ad282618 | 3 | * Microprocessors |
y_notsu | 0:2c37ad282618 | 4 | * |
y_notsu | 0:2c37ad282618 | 5 | * Copyright(C) 2006, NXP Semiconductor |
y_notsu | 0:2c37ad282618 | 6 | * All rights reserved. |
y_notsu | 0:2c37ad282618 | 7 | * |
y_notsu | 0:2c37ad282618 | 8 | * History |
y_notsu | 0:2c37ad282618 | 9 | * 2009.04.01 ver 1.00 Preliminary version, first Release |
y_notsu | 0:2c37ad282618 | 10 | * |
y_notsu | 0:2c37ad282618 | 11 | ******************************************************************************/ |
y_notsu | 0:2c37ad282618 | 12 | #ifndef __TYPE_H__ |
y_notsu | 0:2c37ad282618 | 13 | #define __TYPE_H__ |
y_notsu | 0:2c37ad282618 | 14 | |
y_notsu | 0:2c37ad282618 | 15 | // CodeRed - ifdef for GNU added to avoid potential clash with stdint.h |
y_notsu | 0:2c37ad282618 | 16 | #if defined ( __GNUC__ ) |
y_notsu | 0:2c37ad282618 | 17 | //#include <stdint.h> |
y_notsu | 0:2c37ad282618 | 18 | #else |
y_notsu | 0:2c37ad282618 | 19 | |
y_notsu | 0:2c37ad282618 | 20 | /* exact-width signed integer types */ |
y_notsu | 0:2c37ad282618 | 21 | //typedef signed char int8_t; |
y_notsu | 0:2c37ad282618 | 22 | //typedef signed short int int16_t; |
y_notsu | 0:2c37ad282618 | 23 | //typedef signed int int32_t; |
y_notsu | 0:2c37ad282618 | 24 | //typedef signed __int64 int64_t; |
y_notsu | 0:2c37ad282618 | 25 | |
y_notsu | 0:2c37ad282618 | 26 | /* exact-width unsigned integer types */ |
y_notsu | 0:2c37ad282618 | 27 | //typedef unsigned char uint8_t; |
y_notsu | 0:2c37ad282618 | 28 | //typedef unsigned short int uint16_t; |
y_notsu | 0:2c37ad282618 | 29 | //typedef unsigned int uint32_t; |
y_notsu | 0:2c37ad282618 | 30 | //typedef unsigned __int64 uint64_t; |
y_notsu | 0:2c37ad282618 | 31 | |
y_notsu | 0:2c37ad282618 | 32 | #endif // __GNUC__ |
y_notsu | 0:2c37ad282618 | 33 | |
y_notsu | 0:2c37ad282618 | 34 | #ifndef NULL |
y_notsu | 0:2c37ad282618 | 35 | #define NULL ((void *)0) |
y_notsu | 0:2c37ad282618 | 36 | #endif |
y_notsu | 0:2c37ad282618 | 37 | |
y_notsu | 0:2c37ad282618 | 38 | #ifndef FALSE |
y_notsu | 0:2c37ad282618 | 39 | #define FALSE (0) |
y_notsu | 0:2c37ad282618 | 40 | #endif |
y_notsu | 0:2c37ad282618 | 41 | |
y_notsu | 0:2c37ad282618 | 42 | #ifndef TRUE |
y_notsu | 0:2c37ad282618 | 43 | #define TRUE (1) |
y_notsu | 0:2c37ad282618 | 44 | #endif |
y_notsu | 0:2c37ad282618 | 45 | |
y_notsu | 0:2c37ad282618 | 46 | #endif /* __TYPE_H__ */ |