These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers memory.h Source File

memory.h

00001 /*----------------------------------------------------------------------------
00002  *      Name:    MEMORY.H
00003  *      Purpose: USB Memory Storage Demo Definitions
00004  *      Version: V1.10
00005  *----------------------------------------------------------------------------
00006  *      This file is part of the uVision/ARM development tools.
00007  *      This software may only be used under the terms of a valid, current,
00008  *      end user licence from KEIL for a compatible version of KEIL software
00009  *      development tools. Nothing else gives you the right to use it.
00010  *
00011  *      Copyright (c) 2005-2007 Keil Software.
00012  *---------------------------------------------------------------------------*/
00013 
00014 #define CCLK            60000000    /* CPU Clock */
00015 
00016 /* LED Definitions */
00017 #define LED_MSK         0x00FF0000  /* P1.16..23 */
00018 #define LED_RD          0x00010000  /* P1.16 */
00019 #define LED_WR          0x00020000  /* P1.17 */
00020 #define LED_CFG         0x00400000  /* P1.22 */
00021 #define LED_SUSP        0x00800000  /* P1.23 */
00022 
00023 /* MSC Disk Image Definitions */
00024 #define MSC_ImageSize   0x00001000
00025 
00026 extern const unsigned char DiskImage[MSC_ImageSize];   /* Disk Image */