Revision 8, 1.1 kB
(checked in by phil, 15 years ago)
|
Added Examples etc. from CD
|
Line | |
---|
1 |
/*---------------------------------------------------------------------------- |
---|
2 |
* Name: MEMORY.H |
---|
3 |
* Purpose: USB Memory Storage Demo Definitions |
---|
4 |
* Version: V1.10 |
---|
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 |
#define CCLK 60000000 /* CPU Clock */ |
---|
15 |
|
---|
16 |
/* LED Definitions */ |
---|
17 |
#define LED_MSK 0x000000FF /* P2.0..7 */ |
---|
18 |
#define LED_RD 0x00000001 /* P2.0 */ |
---|
19 |
#define LED_WR 0x00000002 /* P2.1 */ |
---|
20 |
#define LED_CFG 0x00000010 /* P2.4 */ |
---|
21 |
#define LED_SUSP 0x00000020 /* P2.5 */ |
---|
22 |
|
---|
23 |
/* MSC Disk Image Definitions */ |
---|
24 |
#define MSC_ImageSize 0x00001000 |
---|
25 |
|
---|
26 |
extern const unsigned char DiskImage[MSC_ImageSize]; /* Disk Image */ |
---|