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 demo.h Source File

demo.h

00001 /*----------------------------------------------------------------------------
00002  *      Name:    DEMO.H
00003  *      Purpose: USB HID Demo Definitions
00004  *      Version: V1.10
00005  *----------------------------------------------------------------------------
00006  *      This software is supplied "AS IS" without any warranties, express,
00007  *      implied or statutory, including but not limited to the implied
00008  *      warranties of fitness for purpose, satisfactory quality and
00009  *      noninfringement. Keil extends you a royalty-free right to reproduce
00010  *      and distribute executable files created using this software for use
00011  *      on NXP Semiconductors LPC family microcontroller devices only. Nothing 
00012  *      else gives you the right to use this software.
00013  *
00014  *      Copyright (c) 2005-2009 Keil Software.
00015  *---------------------------------------------------------------------------*/
00016 
00017 /* Push Button Definitions */
00018 #define PBINT  0x00000400  /* P2.10 */
00019 
00020 /* LED Definitions */
00021 #define LEDMSK 0x000000FF /* P2.0..7 */
00022 
00023 /* HID Demo Variables */
00024 extern uint8_t InReport;
00025 extern uint8_t OutReport;
00026 
00027 /* HID Demo Functions */
00028 extern void GetInReport  (void);
00029 extern void SetOutReport (void);