www.pudn.com > USB_HID.rar > hiduser.h
/*---------------------------------------------------------------------------- * U S B - K e r n e l *---------------------------------------------------------------------------- * Name: HIDUSER.H * Purpose: HID Custom User Definitions * Version: V1.03 *---------------------------------------------------------------------------- * This file is part of the uVision/ARM development tools. * Copyright (c) 2005 Keil Software. All rights reserved. *---------------------------------------------------------------------------*/ #ifndef __HIDUSER_H__ #define __HIDUSER_H__ /* HID Number of Reports */ #define HID_REPORT_NUM 1 /* HID Global Variables */ extern BYTE HID_Protocol; extern BYTE HID_IdleTime[HID_REPORT_NUM]; /* HID Requests Callback Functions */ extern BOOL HID_GetReport (void); extern BOOL HID_SetReport (void); extern BOOL HID_GetIdle (void); extern BOOL HID_SetIdle (void); extern BOOL HID_GetProtocol (void); extern BOOL HID_SetProtocol (void); #endif /* __HIDUSER_H__ */