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

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

Added Examples etc. from CD

Line 
1 /*----------------------------------------------------------------------------
2  *      U S B  -  K e r n e l
3  *----------------------------------------------------------------------------
4  *      Name:    HIDUSER.H
5  *      Purpose: HID Custom User Definitions
6  *      Version: V1.10
7  *----------------------------------------------------------------------------
8  *      This file is part of the uVision/ARM development tools.
9  *      This software may only be used under the terms of a valid, current,
10  *      end user licence from KEIL for a compatible version of KEIL software
11  *      development tools. Nothing else gives you the right to use it.
12  *
13  *      Copyright (c) 2005-2006 Keil Software.
14  *---------------------------------------------------------------------------*/
15
16 #ifndef __HIDUSER_H__
17 #define __HIDUSER_H__
18
19
20 /* HID Number of Reports */
21 #define HID_REPORT_NUM      1
22
23 /* HID Global Variables */
24 extern BYTE HID_Protocol;
25 extern BYTE HID_IdleTime[HID_REPORT_NUM];
26
27 /* HID Requests Callback Functions */
28 extern BOOL HID_GetReport   (void);
29 extern BOOL HID_SetReport   (void);
30 extern BOOL HID_GetIdle     (void);
31 extern BOOL HID_SetIdle     (void);
32 extern BOOL HID_GetProtocol (void);
33 extern BOOL HID_SetProtocol (void);
34
35
36 #endif  /* __HIDUSER_H__ */
Note: See TracBrowser for help on using the browser.