These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
hiduser.h
00001 /*---------------------------------------------------------------------------- 00002 * U S B - K e r n e l 00003 *---------------------------------------------------------------------------- 00004 * Name: HIDUSER.H 00005 * Purpose: HID Custom User Definitions 00006 * Version: V1.10 00007 *---------------------------------------------------------------------------- 00008 * This software is supplied "AS IS" without any warranties, express, 00009 * implied or statutory, including but not limited to the implied 00010 * warranties of fitness for purpose, satisfactory quality and 00011 * noninfringement. Keil extends you a royalty-free right to reproduce 00012 * and distribute executable files created using this software for use 00013 * on NXP Semiconductors LPC family microcontroller devices only. Nothing 00014 * else gives you the right to use this software. 00015 * 00016 * Copyright (c) 2005-2009 Keil Software. 00017 *---------------------------------------------------------------------------*/ 00018 00019 #ifndef __HIDUSER_H__ 00020 #define __HIDUSER_H__ 00021 00022 00023 /* HID Number of Reports */ 00024 #define HID_REPORT_NUM 1 00025 00026 /* HID Global Variables */ 00027 extern uint8_t HID_Protocol; 00028 extern uint8_t HID_IdleTime[HID_REPORT_NUM]; 00029 00030 /* HID Requests Callback Functions */ 00031 extern uint32_t HID_GetReport (void); 00032 extern uint32_t HID_SetReport (void); 00033 extern uint32_t HID_GetIdle (void); 00034 extern uint32_t HID_SetIdle (void); 00035 extern uint32_t HID_GetProtocol (void); 00036 extern uint32_t HID_SetProtocol (void); 00037 00038 00039 #endif /* __HIDUSER_H__ */
Generated on Tue Jul 12 2022 17:28:08 by 1.7.2