Dependencies:   mbed

Committer:
macaba
Date:
Wed Jan 20 11:44:57 2010 +0000
Revision:
0:6d43d111bdc1

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
macaba 0:6d43d111bdc1 1 /*****************************************************************************
macaba 0:6d43d111bdc1 2 * type.h: Type definition Header file for NXP LPC17xx Family
macaba 0:6d43d111bdc1 3 * Microprocessors
macaba 0:6d43d111bdc1 4 *
macaba 0:6d43d111bdc1 5 * Copyright(C) 2009, NXP Semiconductor
macaba 0:6d43d111bdc1 6 * All rights reserved.
macaba 0:6d43d111bdc1 7 *
macaba 0:6d43d111bdc1 8 * History
macaba 0:6d43d111bdc1 9 * 2009.05.25 ver 1.00 Prelimnary version, first Release
macaba 0:6d43d111bdc1 10 *
macaba 0:6d43d111bdc1 11 ******************************************************************************/
macaba 0:6d43d111bdc1 12 #include <stdint.h>
macaba 0:6d43d111bdc1 13
macaba 0:6d43d111bdc1 14 #ifndef __TYPE_H__
macaba 0:6d43d111bdc1 15 #define __TYPE_H__
macaba 0:6d43d111bdc1 16
macaba 0:6d43d111bdc1 17 #ifndef NULL
macaba 0:6d43d111bdc1 18 #define NULL ((void *)0)
macaba 0:6d43d111bdc1 19 #endif
macaba 0:6d43d111bdc1 20
macaba 0:6d43d111bdc1 21 #ifndef FALSE
macaba 0:6d43d111bdc1 22 #define FALSE (0)
macaba 0:6d43d111bdc1 23 #endif
macaba 0:6d43d111bdc1 24
macaba 0:6d43d111bdc1 25 #ifndef TRUE
macaba 0:6d43d111bdc1 26 #define TRUE (1)
macaba 0:6d43d111bdc1 27 #endif
macaba 0:6d43d111bdc1 28
macaba 0:6d43d111bdc1 29
macaba 0:6d43d111bdc1 30 typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus;
macaba 0:6d43d111bdc1 31 typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
macaba 0:6d43d111bdc1 32
macaba 0:6d43d111bdc1 33 #endif /* __TYPE_H__ */