Jason Engelman
/
USBCDC
Port of Keils USBCDC example, compiles ok. Gets stuck at init
vcomdemo.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 | * Name: vcomdemo.h |
tecnosys | 0:0b777ff85deb | 3 | * Purpose: USB virtual COM port Demo Definitions |
tecnosys | 0:0b777ff85deb | 4 | * Version: V1.02 |
tecnosys | 0:0b777ff85deb | 5 | *---------------------------------------------------------------------------- |
tecnosys | 0:0b777ff85deb | 6 | * This software is supplied "AS IS" without any warranties, express, |
tecnosys | 0:0b777ff85deb | 7 | * implied or statutory, including but not limited to the implied |
tecnosys | 0:0b777ff85deb | 8 | * warranties of fitness for purpose, satisfactory quality and |
tecnosys | 0:0b777ff85deb | 9 | * noninfringement. Keil extends you a royalty-free right to reproduce |
tecnosys | 0:0b777ff85deb | 10 | * and distribute executable files created using this software for use |
tecnosys | 0:0b777ff85deb | 11 | * on NXP Semiconductors LPC microcontroller devices only. Nothing else |
tecnosys | 0:0b777ff85deb | 12 | * gives you the right to use this software. |
tecnosys | 0:0b777ff85deb | 13 | * |
tecnosys | 0:0b777ff85deb | 14 | * Copyright (c) 2009 Keil - An ARM Company. All rights reserved. |
tecnosys | 0:0b777ff85deb | 15 | *---------------------------------------------------------------------------*/ |
tecnosys | 0:0b777ff85deb | 16 | |
tecnosys | 0:0b777ff85deb | 17 | /* Push Button Definitions */ |
tecnosys | 0:0b777ff85deb | 18 | #define S2 0x00000400 /* P2.10 */ |
tecnosys | 0:0b777ff85deb | 19 | |
tecnosys | 0:0b777ff85deb | 20 | /* LED Definitions */ |
tecnosys | 0:0b777ff85deb | 21 | #define LED1 0x00000001 /* P2.00 */ |
tecnosys | 0:0b777ff85deb | 22 | #define LED2 0x00000002 /* P2.01 */ |
tecnosys | 0:0b777ff85deb | 23 | #define LED3 0x00000004 /* P2.02 */ |
tecnosys | 0:0b777ff85deb | 24 | #define LED4 0x00000008 /* P2.03 */ |
tecnosys | 0:0b777ff85deb | 25 | #define LED5 0x00000010 /* P2.04 */ |
tecnosys | 0:0b777ff85deb | 26 | #define LED6 0x00000020 /* P2.05 */ |
tecnosys | 0:0b777ff85deb | 27 | #define LED7 0x00000040 /* P2.06 */ |
tecnosys | 0:0b777ff85deb | 28 | #define LED8 0x00000080 /* P2.07 */ |
tecnosys | 0:0b777ff85deb | 29 | |
tecnosys | 0:0b777ff85deb | 30 | #define LEDMSK 0x000000FF /* P2.0..7 */ |
tecnosys | 0:0b777ff85deb | 31 |