keil_examples/USBHID/hiduser.c
/*
 *  HID Get Idle Request Callback
 *   Called automatically on HID Get Idle Request
 *    Parameters:      None (global SetupPacket and EP0Buf)
 *    Return Value:    TRUE - Success, FALSE - Error
 */
HID Get Idle Request Callback
Called automatically on HID Get Idle Request
Parameters:      None (global SetupPacket and EP0Buf)
Return Value:    TRUE - Success, FALSE - Error
HID Get Idle Request Callback Called automatically on HID Get Idle Request Parameters : None ( global SetupPacket and EP0Buf ) Return Value : TRUE - Success FALSE - Error
uint32_t HID_GetIdle (void) {
  EP0Buf[0] = HID_IdleTime[SetupPacket.wValue.WB.L];
  return (TRUE);
}
uint32_t HID_GetIdle ( void ) { EP0Buf [ 0 ] = HID_IdleTime [ SetupPacket . wValue . WB . L ] ; return ( TRUE ) ; }
HID Get Idle Request Callback
   Called automatically on HID Get Idle Request
    Parameters:      None (global SetupPacket and EP0Buf)
    Return Value:    TRUE - Success, FALSE - Error
HID Get Idle Request Callback Called automatically on HID Get Idle Request Parameters : None ( global SetupPacket and EP0Buf ) Return Value : TRUE - Success FALSE - Error