Jason Engelman
/
USBCDC
Port of Keils USBCDC example, compiles ok. Gets stuck at init
common/type.h@0:0b777ff85deb, 2010-07-05 (annotated)
- Committer:
- tecnosys
- Date:
- Mon Jul 05 10:16:57 2010 +0000
- Revision:
- 0:0b777ff85deb
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tecnosys | 0:0b777ff85deb | 1 | /***************************************************************************** |
tecnosys | 0:0b777ff85deb | 2 | * type.h: Type definition Header file for NXP LPC17xx Family |
tecnosys | 0:0b777ff85deb | 3 | * Microprocessors |
tecnosys | 0:0b777ff85deb | 4 | * |
tecnosys | 0:0b777ff85deb | 5 | * Copyright(C) 2009, NXP Semiconductor |
tecnosys | 0:0b777ff85deb | 6 | * All rights reserved. |
tecnosys | 0:0b777ff85deb | 7 | * |
tecnosys | 0:0b777ff85deb | 8 | * History |
tecnosys | 0:0b777ff85deb | 9 | * 2009.05.25 ver 1.00 Prelimnary version, first Release |
tecnosys | 0:0b777ff85deb | 10 | * |
tecnosys | 0:0b777ff85deb | 11 | ******************************************************************************/ |
tecnosys | 0:0b777ff85deb | 12 | #include <stdint.h> |
tecnosys | 0:0b777ff85deb | 13 | |
tecnosys | 0:0b777ff85deb | 14 | #ifndef __TYPE_H__ |
tecnosys | 0:0b777ff85deb | 15 | #define __TYPE_H__ |
tecnosys | 0:0b777ff85deb | 16 | |
tecnosys | 0:0b777ff85deb | 17 | #ifndef NULL |
tecnosys | 0:0b777ff85deb | 18 | #define NULL ((void *)0) |
tecnosys | 0:0b777ff85deb | 19 | #endif |
tecnosys | 0:0b777ff85deb | 20 | |
tecnosys | 0:0b777ff85deb | 21 | #ifndef FALSE |
tecnosys | 0:0b777ff85deb | 22 | #define FALSE (0) |
tecnosys | 0:0b777ff85deb | 23 | #endif |
tecnosys | 0:0b777ff85deb | 24 | |
tecnosys | 0:0b777ff85deb | 25 | #ifndef TRUE |
tecnosys | 0:0b777ff85deb | 26 | #define TRUE (1) |
tecnosys | 0:0b777ff85deb | 27 | #endif |
tecnosys | 0:0b777ff85deb | 28 | |
tecnosys | 0:0b777ff85deb | 29 | |
tecnosys | 0:0b777ff85deb | 30 | typedef enum {RESET = 0, SET = !RESET} FlagStatus, ITStatus; |
tecnosys | 0:0b777ff85deb | 31 | typedef enum {DISABLE = 0, ENABLE = !DISABLE} FunctionalState; |
tecnosys | 0:0b777ff85deb | 32 | |
tecnosys | 0:0b777ff85deb | 33 | #endif /* __TYPE_H__ */ |