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

Committer:
frank26080115
Date:
Sun Mar 20 05:38:56 2011 +0000
Revision:
0:bf7b9fba3924

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
frank26080115 0:bf7b9fba3924 1 /*----------------------------------------------------------------------------
frank26080115 0:bf7b9fba3924 2 * Name: vcomdemo.h
frank26080115 0:bf7b9fba3924 3 * Purpose: USB virtual COM port Demo Definitions
frank26080115 0:bf7b9fba3924 4 * Version: V1.02
frank26080115 0:bf7b9fba3924 5 *----------------------------------------------------------------------------
frank26080115 0:bf7b9fba3924 6 * This software is supplied "AS IS" without any warranties, express,
frank26080115 0:bf7b9fba3924 7 * implied or statutory, including but not limited to the implied
frank26080115 0:bf7b9fba3924 8 * warranties of fitness for purpose, satisfactory quality and
frank26080115 0:bf7b9fba3924 9 * noninfringement. Keil extends you a royalty-free right to reproduce
frank26080115 0:bf7b9fba3924 10 * and distribute executable files created using this software for use
frank26080115 0:bf7b9fba3924 11 * on NXP Semiconductors LPC microcontroller devices only. Nothing else
frank26080115 0:bf7b9fba3924 12 * gives you the right to use this software.
frank26080115 0:bf7b9fba3924 13 *
frank26080115 0:bf7b9fba3924 14 * Copyright (c) 2009 Keil - An ARM Company. All rights reserved.
frank26080115 0:bf7b9fba3924 15 *---------------------------------------------------------------------------*/
frank26080115 0:bf7b9fba3924 16
frank26080115 0:bf7b9fba3924 17 /* Push Button Definitions */
frank26080115 0:bf7b9fba3924 18 #define S2 0x00000400 /* P2.10 */
frank26080115 0:bf7b9fba3924 19
frank26080115 0:bf7b9fba3924 20 /* LED Definitions */
frank26080115 0:bf7b9fba3924 21 #define LED1 0x00000001 /* P2.00 */
frank26080115 0:bf7b9fba3924 22 #define LED2 0x00000002 /* P2.01 */
frank26080115 0:bf7b9fba3924 23 #define LED3 0x00000004 /* P2.02 */
frank26080115 0:bf7b9fba3924 24 #define LED4 0x00000008 /* P2.03 */
frank26080115 0:bf7b9fba3924 25 #define LED5 0x00000010 /* P2.04 */
frank26080115 0:bf7b9fba3924 26 #define LED6 0x00000020 /* P2.05 */
frank26080115 0:bf7b9fba3924 27 #define LED7 0x00000040 /* P2.06 */
frank26080115 0:bf7b9fba3924 28 #define LED8 0x00000080 /* P2.07 */
frank26080115 0:bf7b9fba3924 29
frank26080115 0:bf7b9fba3924 30 #define LEDMSK 0x000000FF /* P2.0..7 */
frank26080115 0:bf7b9fba3924 31