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