summaryrefslogtreecommitdiff
path: root/firmware/export/usb_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/usb_core.h')
-rw-r--r--firmware/export/usb_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/usb_core.h b/firmware/export/usb_core.h
index 6405aa492d..9e3d0d7916 100644
--- a/firmware/export/usb_core.h
+++ b/firmware/export/usb_core.h
@@ -51,6 +51,10 @@ void usb_core_enable_driver(int driver,bool enabled);
51bool usb_core_driver_enabled(int driver); 51bool usb_core_driver_enabled(int driver);
52void usb_core_handle_transfer_completion( 52void usb_core_handle_transfer_completion(
53 struct usb_transfer_completion_event_data* event); 53 struct usb_transfer_completion_event_data* event);
54void usb_core_handle_notify(long id, intptr_t data);
55/* For controllers which handle SET ADDR and/or SET CONFIG in hardware */
56void usb_core_notify_set_address(uint8_t addr);
57void usb_core_notify_set_config(uint8_t config);
54 58
55int usb_core_request_endpoint(int type, int dir,struct usb_class_driver* drv); 59int usb_core_request_endpoint(int type, int dir,struct usb_class_driver* drv);
56void usb_core_release_endpoint(int dir); 60void usb_core_release_endpoint(int dir);