These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Committer:
frank26080115
Date:
Sun Mar 20 05:38:56 2011 +0000
Revision:
0:bf7b9fba3924

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
frank26080115 0:bf7b9fba3924 1 /*----------------------------------------------------------------------------
frank26080115 0:bf7b9fba3924 2 * U S B - K e r n e l
frank26080115 0:bf7b9fba3924 3 *----------------------------------------------------------------------------
frank26080115 0:bf7b9fba3924 4 * Name: HIDUSER.H
frank26080115 0:bf7b9fba3924 5 * Purpose: HID Custom User Definitions
frank26080115 0:bf7b9fba3924 6 * Version: V1.10
frank26080115 0:bf7b9fba3924 7 *----------------------------------------------------------------------------
frank26080115 0:bf7b9fba3924 8 * This software is supplied "AS IS" without any warranties, express,
frank26080115 0:bf7b9fba3924 9 * implied or statutory, including but not limited to the implied
frank26080115 0:bf7b9fba3924 10 * warranties of fitness for purpose, satisfactory quality and
frank26080115 0:bf7b9fba3924 11 * noninfringement. Keil extends you a royalty-free right to reproduce
frank26080115 0:bf7b9fba3924 12 * and distribute executable files created using this software for use
frank26080115 0:bf7b9fba3924 13 * on NXP Semiconductors LPC family microcontroller devices only. Nothing
frank26080115 0:bf7b9fba3924 14 * else gives you the right to use this software.
frank26080115 0:bf7b9fba3924 15 *
frank26080115 0:bf7b9fba3924 16 * Copyright (c) 2005-2009 Keil Software.
frank26080115 0:bf7b9fba3924 17 *---------------------------------------------------------------------------*/
frank26080115 0:bf7b9fba3924 18
frank26080115 0:bf7b9fba3924 19 #ifndef __HIDUSER_H__
frank26080115 0:bf7b9fba3924 20 #define __HIDUSER_H__
frank26080115 0:bf7b9fba3924 21
frank26080115 0:bf7b9fba3924 22
frank26080115 0:bf7b9fba3924 23 /* HID Number of Reports */
frank26080115 0:bf7b9fba3924 24 #define HID_REPORT_NUM 1
frank26080115 0:bf7b9fba3924 25
frank26080115 0:bf7b9fba3924 26 /* HID Global Variables */
frank26080115 0:bf7b9fba3924 27 extern uint8_t HID_Protocol;
frank26080115 0:bf7b9fba3924 28 extern uint8_t HID_IdleTime[HID_REPORT_NUM];
frank26080115 0:bf7b9fba3924 29
frank26080115 0:bf7b9fba3924 30 /* HID Requests Callback Functions */
frank26080115 0:bf7b9fba3924 31 extern uint32_t HID_GetReport (void);
frank26080115 0:bf7b9fba3924 32 extern uint32_t HID_SetReport (void);
frank26080115 0:bf7b9fba3924 33 extern uint32_t HID_GetIdle (void);
frank26080115 0:bf7b9fba3924 34 extern uint32_t HID_SetIdle (void);
frank26080115 0:bf7b9fba3924 35 extern uint32_t HID_GetProtocol (void);
frank26080115 0:bf7b9fba3924 36 extern uint32_t HID_SetProtocol (void);
frank26080115 0:bf7b9fba3924 37
frank26080115 0:bf7b9fba3924 38
frank26080115 0:bf7b9fba3924 39 #endif /* __HIDUSER_H__ */