Revision 8, 1.1 kB
(checked in by phil, 16 years ago)
|
Added Examples etc. from CD
|
Line | |
---|
1 |
/*---------------------------------------------------------------------------- |
---|
2 |
* Name: DEMO.H |
---|
3 |
* Purpose: USB virtual COM port Demo Definitions |
---|
4 |
* Version: V1.00 |
---|
5 |
*---------------------------------------------------------------------------- |
---|
6 |
* This file is part of the uVision/ARM development tools. |
---|
7 |
* This software may only be used under the terms of a valid, current, |
---|
8 |
* end user licence from KEIL for a compatible version of KEIL software |
---|
9 |
* development tools. Nothing else gives you the right to use it. |
---|
10 |
* |
---|
11 |
* Copyright (c) 2005-2007 Keil Software. |
---|
12 |
*---------------------------------------------------------------------------*/ |
---|
13 |
|
---|
14 |
/* Push Button Definitions */ |
---|
15 |
#define S2 0x00000400 /* P2.10 */ |
---|
16 |
|
---|
17 |
/* LED Definitions */ |
---|
18 |
#define LED1 0x00000001 /* P2.00 */ |
---|
19 |
#define LED2 0x00000002 /* P2.01 */ |
---|
20 |
#define LED3 0x00000004 /* P2.02 */ |
---|
21 |
#define LED4 0x00000008 /* P2.03 */ |
---|
22 |
#define LED5 0x00000010 /* P2.04 */ |
---|
23 |
#define LED6 0x00000020 /* P2.05 */ |
---|
24 |
#define LED7 0x00000040 /* P2.06 */ |
---|
25 |
#define LED8 0x00000080 /* P2.07 */ |
---|
26 |
|
---|
27 |
#define LEDMSK 0x000000FF /* P2.0..7 */ |
---|
28 |
|
---|