usbd: Add USB Gadget HID driver

This commit is contained in:
CTCaer
2020-04-30 14:15:26 +03:00
parent c9a7659d93
commit b01b49aff4
2 changed files with 433 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ int usb_device_ep1_in_writing_finish(u32 *pending_bytes);
bool usb_device_get_suspended();
int usb_device_gadget_ums(usb_ctxt_t *usbs);
int usb_device_gadget_hid(usb_ctxt_t *usbs);
bool usb_device_get_max_lun(u8 max_lun);
bool usb_device_get_hid_report();
u32 usb_device_get_port_status();