root/Examples_CP-JR_ARM7_LPC2368/ETT_LPC2368_Examples/USB_DEMO/USBHID/demo.h

Revision 8, 1.0 kB (checked in by phil, 16 years ago)

Added Examples etc. from CD

Line 
1 /*----------------------------------------------------------------------------
2  *      Name:    DEMO.H
3  *      Purpose: USB HID Demo Definitions
4  *      Version: V1.10
5  *----------------------------------------------------------------------------
6  *      This file is part of the uVision/ARM development tools.
7  *      This software may only be used under the terms of a valid, current,
8  *      end user licence from KEIL for a compatible version of KEIL software
9  *      development tools. Nothing else gives you the right to use it.
10  *
11  *      Copyright (c) 2005-2006 Keil Software.
12  *---------------------------------------------------------------------------*/
13
14 /* Push Button Definitions */
15 #define SW1    0x00000400   /* P2[10] */
16 #define SW3    0x10000000       /* P4[28] */
17 #define SW4    0x20000000   /* P4[29] */
18
19 /* LED Definitions */
20 #define LEDMSK 0x000000FF   /* P2[0..7] */
21
22 /* HID Demo Variables */
23 extern BYTE InReport;
24 extern BYTE OutReport;
25
26 /* HID Demo Functions */
27 extern void GetInReport  (void);
28 extern void SetOutReport (void);
Note: See TracBrowser for help on using the browser.