These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
Diff: USBDEV/USBMassStorage/memory.h
- Revision:
- 0:bf7b9fba3924
diff -r 000000000000 -r bf7b9fba3924 USBDEV/USBMassStorage/memory.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDEV/USBMassStorage/memory.h Sun Mar 20 05:38:56 2011 +0000 @@ -0,0 +1,26 @@ +/*---------------------------------------------------------------------------- + * Name: MEMORY.H + * Purpose: USB Memory Storage Demo Definitions + * Version: V1.10 + *---------------------------------------------------------------------------- + * This file is part of the uVision/ARM development tools. + * This software may only be used under the terms of a valid, current, + * end user licence from KEIL for a compatible version of KEIL software + * development tools. Nothing else gives you the right to use it. + * + * Copyright (c) 2005-2007 Keil Software. + *---------------------------------------------------------------------------*/ + +#define CCLK 60000000 /* CPU Clock */ + +/* LED Definitions */ +#define LED_MSK 0x00FF0000 /* P1.16..23 */ +#define LED_RD 0x00010000 /* P1.16 */ +#define LED_WR 0x00020000 /* P1.17 */ +#define LED_CFG 0x00400000 /* P1.22 */ +#define LED_SUSP 0x00800000 /* P1.23 */ + +/* MSC Disk Image Definitions */ +#define MSC_ImageSize 0x00001000 + +extern const unsigned char DiskImage[MSC_ImageSize]; /* Disk Image */