summaryrefslogtreecommitdiff
path: root/tinyusb/hal/hal.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-03-04 18:46:02 +0700
committerhathach <[email protected]>2013-03-04 18:46:02 +0700
commit2c8596edebaedd0ceae46a56385c71c83dda531c (patch)
treede683bd9a77da9906879aa8e21d3cc546407b3c4 /tinyusb/hal/hal.h
parenta259be6edf5bb0f8c4e77f3b321a826d8e86bd25 (diff)
abstract call chains from hal usb isr
Diffstat (limited to 'tinyusb/hal/hal.h')
-rw-r--r--tinyusb/hal/hal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h
index 9afad4726..ad77055eb 100644
--- a/tinyusb/hal/hal.h
+++ b/tinyusb/hal/hal.h
@@ -68,6 +68,10 @@
extern "C" {
#endif
+// callback from tusb.h
+extern void tusb_isr(uint8_t controller_id);
+
+
/** \brief USB hardware init
*
* \param[in] para1