summaryrefslogtreecommitdiff
path: root/supervisor/usb.h
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2020-07-07 11:14:43 -0500
committerJeff Epler <jepler@gmail.com>2020-07-15 11:49:44 -0500
commit6160d11c5a04f60e54ce977fd73fafa5ba858aa0 (patch)
treedc8bda08584d1a5f00761677d9a8094cbbf96398 /supervisor/usb.h
parent36b46465167f15eaf8535608b16859e6de10fac8 (diff)
supervisor: factor out, Handle USB via background callback
Diffstat (limited to 'supervisor/usb.h')
-rw-r--r--supervisor/usb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/supervisor/usb.h b/supervisor/usb.h
index 29280c725..1bed9bbb4 100644
--- a/supervisor/usb.h
+++ b/supervisor/usb.h
@@ -33,6 +33,9 @@
// alive and responsive.
void usb_background(void);
+// Ports must call this from their particular USB IRQ handler
+void usb_irq_handler(void);
+
// Only inits the USB peripheral clocks and pins. The peripheral will be initialized by
// TinyUSB.
void init_usb_hardware(void);