| 123456789101112131415161718192021222324252627282930313233 |
- /*****************************************************************************
- * type.h: Type definition Header file for NXP LPC17xx Family
- * Microprocessors
- *
- * Copyright(C) 2009, NXP Semiconductor
- * All rights reserved.
- *
- * History
- * 2009.05.25 ver 1.00 Prelimnary version, first Release
- *
- ******************************************************************************/
- #include <stdint.h>
- #ifndef __TYPE_H__
- #define __TYPE_H__
- #ifndef NULL
- #define NULL ((void *)0)
- #endif
- #ifndef FALSE
- #define FALSE (0)
- #endif
- #ifndef TRUE
- #define TRUE (1)
- #endif
- typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus;
- typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState;
- #endif /* __TYPE_H__ */
|