This Program is for MAPLE board with OLED and GPS/RTC module. OLED module(OB) : 128 x 128 pixels, 4K color GPS/RTC module(GB) : UP501 These module can buy Marutyu (http://www.marutsu.co.jp)
type.h@0:58e40a872950, 2011-06-05 (annotated)
- Committer:
- y_notsu
- Date:
- Sun Jun 05 15:10:48 2011 +0000
- Revision:
- 0:58e40a872950
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
y_notsu | 0:58e40a872950 | 1 | /***************************************************************************** |
y_notsu | 0:58e40a872950 | 2 | * type.h: Type definition Header file for NXP Family |
y_notsu | 0:58e40a872950 | 3 | * Microprocessors |
y_notsu | 0:58e40a872950 | 4 | * |
y_notsu | 0:58e40a872950 | 5 | * Copyright(C) 2006, NXP Semiconductor |
y_notsu | 0:58e40a872950 | 6 | * All rights reserved. |
y_notsu | 0:58e40a872950 | 7 | * |
y_notsu | 0:58e40a872950 | 8 | * History |
y_notsu | 0:58e40a872950 | 9 | * 2009.04.01 ver 1.00 Preliminary version, first Release |
y_notsu | 0:58e40a872950 | 10 | * |
y_notsu | 0:58e40a872950 | 11 | ******************************************************************************/ |
y_notsu | 0:58e40a872950 | 12 | #ifndef __TYPE_H__ |
y_notsu | 0:58e40a872950 | 13 | #define __TYPE_H__ |
y_notsu | 0:58e40a872950 | 14 | |
y_notsu | 0:58e40a872950 | 15 | // CodeRed - ifdef for GNU added to avoid potential clash with stdint.h |
y_notsu | 0:58e40a872950 | 16 | #if defined ( __GNUC__ ) |
y_notsu | 0:58e40a872950 | 17 | #include <stdint.h> |
y_notsu | 0:58e40a872950 | 18 | #else |
y_notsu | 0:58e40a872950 | 19 | |
y_notsu | 0:58e40a872950 | 20 | /* exact-width signed integer types */ |
y_notsu | 0:58e40a872950 | 21 | typedef signed char int8_t; |
y_notsu | 0:58e40a872950 | 22 | typedef signed short int int16_t; |
y_notsu | 0:58e40a872950 | 23 | typedef signed int int32_t; |
y_notsu | 0:58e40a872950 | 24 | typedef signed __int64 int64_t; |
y_notsu | 0:58e40a872950 | 25 | |
y_notsu | 0:58e40a872950 | 26 | /* exact-width unsigned integer types */ |
y_notsu | 0:58e40a872950 | 27 | typedef unsigned char uint8_t; |
y_notsu | 0:58e40a872950 | 28 | typedef unsigned short int uint16_t; |
y_notsu | 0:58e40a872950 | 29 | typedef unsigned int uint32_t; |
y_notsu | 0:58e40a872950 | 30 | typedef unsigned __int64 uint64_t; |
y_notsu | 0:58e40a872950 | 31 | |
y_notsu | 0:58e40a872950 | 32 | #endif // __GNUC__ |
y_notsu | 0:58e40a872950 | 33 | |
y_notsu | 0:58e40a872950 | 34 | #ifndef NULL |
y_notsu | 0:58e40a872950 | 35 | #define NULL ((void *)0) |
y_notsu | 0:58e40a872950 | 36 | #endif |
y_notsu | 0:58e40a872950 | 37 | |
y_notsu | 0:58e40a872950 | 38 | #ifndef FALSE |
y_notsu | 0:58e40a872950 | 39 | #define FALSE (0) |
y_notsu | 0:58e40a872950 | 40 | #endif |
y_notsu | 0:58e40a872950 | 41 | |
y_notsu | 0:58e40a872950 | 42 | #ifndef TRUE |
y_notsu | 0:58e40a872950 | 43 | #define TRUE (1) |
y_notsu | 0:58e40a872950 | 44 | #endif |
y_notsu | 0:58e40a872950 | 45 | |
y_notsu | 0:58e40a872950 | 46 | #endif /* __TYPE_H__ */ |