These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
USBDEV/USBMassStorage/memory.h@0:bf7b9fba3924, 2011-03-20 (annotated)
- Committer:
- frank26080115
- Date:
- Sun Mar 20 05:38:56 2011 +0000
- Revision:
- 0:bf7b9fba3924
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
frank26080115 | 0:bf7b9fba3924 | 1 | /*---------------------------------------------------------------------------- |
frank26080115 | 0:bf7b9fba3924 | 2 | * Name: MEMORY.H |
frank26080115 | 0:bf7b9fba3924 | 3 | * Purpose: USB Memory Storage Demo Definitions |
frank26080115 | 0:bf7b9fba3924 | 4 | * Version: V1.10 |
frank26080115 | 0:bf7b9fba3924 | 5 | *---------------------------------------------------------------------------- |
frank26080115 | 0:bf7b9fba3924 | 6 | * This file is part of the uVision/ARM development tools. |
frank26080115 | 0:bf7b9fba3924 | 7 | * This software may only be used under the terms of a valid, current, |
frank26080115 | 0:bf7b9fba3924 | 8 | * end user licence from KEIL for a compatible version of KEIL software |
frank26080115 | 0:bf7b9fba3924 | 9 | * development tools. Nothing else gives you the right to use it. |
frank26080115 | 0:bf7b9fba3924 | 10 | * |
frank26080115 | 0:bf7b9fba3924 | 11 | * Copyright (c) 2005-2007 Keil Software. |
frank26080115 | 0:bf7b9fba3924 | 12 | *---------------------------------------------------------------------------*/ |
frank26080115 | 0:bf7b9fba3924 | 13 | |
frank26080115 | 0:bf7b9fba3924 | 14 | #define CCLK 60000000 /* CPU Clock */ |
frank26080115 | 0:bf7b9fba3924 | 15 | |
frank26080115 | 0:bf7b9fba3924 | 16 | /* LED Definitions */ |
frank26080115 | 0:bf7b9fba3924 | 17 | #define LED_MSK 0x00FF0000 /* P1.16..23 */ |
frank26080115 | 0:bf7b9fba3924 | 18 | #define LED_RD 0x00010000 /* P1.16 */ |
frank26080115 | 0:bf7b9fba3924 | 19 | #define LED_WR 0x00020000 /* P1.17 */ |
frank26080115 | 0:bf7b9fba3924 | 20 | #define LED_CFG 0x00400000 /* P1.22 */ |
frank26080115 | 0:bf7b9fba3924 | 21 | #define LED_SUSP 0x00800000 /* P1.23 */ |
frank26080115 | 0:bf7b9fba3924 | 22 | |
frank26080115 | 0:bf7b9fba3924 | 23 | /* MSC Disk Image Definitions */ |
frank26080115 | 0:bf7b9fba3924 | 24 | #define MSC_ImageSize 0x00001000 |
frank26080115 | 0:bf7b9fba3924 | 25 | |
frank26080115 | 0:bf7b9fba3924 | 26 | extern const unsigned char DiskImage[MSC_ImageSize]; /* Disk Image */ |