You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.7 KiB

  1. # group `udi_hid_group_internal` {#group__udi__hid__group__internal}
  2. ## Summary
  3. Members | Descriptions
  4. --------------------------------|---------------------------------------------
  5. `public static bool `[`udi_hid_reqstdifaceget_descriptor`](#group__udi__hid__group__internal_1ga0ecbd5a80812ac07a1ee3f890a959640)`(uint8_t * report_desc)` | Send the specific descriptors requested by SETUP request.
  6. `public bool `[`udi_hid_setup`](#group__udi__hid__group__internal_1ga9594c21fbb713dabebed1c970664680b)`(uint8_t * rate,uint8_t * protocol,uint8_t * report_desc,bool(*)(void) setup_report)` | Decode HID setup request.
  7. ## Members
  8. #### `public static bool `[`udi_hid_reqstdifaceget_descriptor`](#group__udi__hid__group__internal_1ga0ecbd5a80812ac07a1ee3f890a959640)`(uint8_t * report_desc)` {#group__udi__hid__group__internal_1ga0ecbd5a80812ac07a1ee3f890a959640}
  9. Send the specific descriptors requested by SETUP request.
  10. #### Parameters
  11. * `true` if the descriptor is supported
  12. #### `public bool `[`udi_hid_setup`](#group__udi__hid__group__internal_1ga9594c21fbb713dabebed1c970664680b)`(uint8_t * rate,uint8_t * protocol,uint8_t * report_desc,bool(*)(void) setup_report)` {#group__udi__hid__group__internal_1ga9594c21fbb713dabebed1c970664680b}
  13. Decode HID setup request.
  14. #### Parameters
  15. * `rate` Pointer on rate of current HID interface
  16. * `protocol` Pointer on protocol of current HID interface
  17. * `report_desc` Pointer on report descriptor of current HID interface
  18. * `set_report` Pointer on set_report callback of current HID interface
  19. #### Returns
  20. `1` if function was successfully done, otherwise `0`.