1.9 KiB
1.9 KiB
group udi_hid_group_internal
Summary
| Members | Descriptions |
|---|---|
public static bool udi_hid_reqstdifaceget_descriptor(uint8_t * report_desc) |
Send the specific descriptors requested by SETUP request. |
public bool udi_hid_setup(uint8_t * rate,uint8_t * protocol,uint8_t * report_desc,bool(*)(void) setup_report) |
Decode HID setup request. |
Members
public static bool udi_hid_reqstdifaceget_descriptor(uint8_t * report_desc)
Send the specific descriptors requested by SETUP request.
Parameters
trueif the descriptor is supported
public bool udi_hid_setup(uint8_t * rate,uint8_t * protocol,uint8_t * report_desc,bool(*)(void) setup_report)
Decode HID setup request.
Parameters
-
ratePointer on rate of current HID interface -
protocolPointer on protocol of current HID interface -
report_descPointer on report descriptor of current HID interface -
set_reportPointer on set_report callback of current HID interface
Returns
1 if function was successfully done, otherwise 0.