keil_examples/USBHID/hiduser.c
/*
 *  HID Set Idle Request Callback
 *   Called automatically on HID Set Idle Request
 *    Parameters:      None (global SetupPacket)
 *    Return Value:    TRUE - Success, FALSE - Error
 */
HID Set Idle Request Callback
Called automatically on HID Set Idle Request
Parameters:      None (global SetupPacket)
Return Value:    TRUE - Success, FALSE - Error
HID Set Idle Request Callback Called automatically on HID Set Idle Request Parameters : None ( global SetupPacket ) Return Value : TRUE - Success FALSE - Error
uint32_t HID_SetIdle (void) {
  HID_IdleTime[SetupPacket.wValue.WB.L] = SetupPacket.wValue.WB.H;
  return (TRUE);
}
uint32_t HID_SetIdle ( void ) { HID_IdleTime [ SetupPacket . wValue . WB . L ] = SetupPacket . wValue . WB . H ; return ( TRUE ) ; }
HID Set Idle Request Callback
   Called automatically on HID Set Idle Request
    Parameters:      None (global SetupPacket)
    Return Value:    TRUE - Success, FALSE - Error
HID Set Idle Request Callback Called automatically on HID Set Idle Request Parameters : None ( global SetupPacket ) Return Value : TRUE - Success FALSE - Error
/* Idle Handling if needed */ /* ... */