1.1 KiB
1.1 KiB
group udi_hid_group
Common library for all Human Interface Device (HID) implementation.
Summary
Members | Descriptions |
---|---|
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 bool
udi_hid_setup
(uint8_t * rate,uint8_t * protocol,uint8_t * report_desc,bool(*)(void) setup_report)
Decode HID setup request.
Parameters
-
rate
Pointer on rate of current HID interface -
protocol
Pointer on protocol of current HID interface -
report_desc
Pointer on report descriptor of current HID interface -
set_report
Pointer on set_report callback of current HID interface
Returns
1
if function was successfully done, otherwise 0
.