diff options
| author | hathach <[email protected]> | 2013-03-04 18:46:02 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-03-04 18:46:02 +0700 |
| commit | 2c8596edebaedd0ceae46a56385c71c83dda531c (patch) | |
| tree | de683bd9a77da9906879aa8e21d3cc546407b3c4 /tinyusb/hal/hal_lpc43xx.c | |
| parent | a259be6edf5bb0f8c4e77f3b321a826d8e86bd25 (diff) | |
abstract call chains from hal usb isr
Diffstat (limited to 'tinyusb/hal/hal_lpc43xx.c')
| -rw-r--r-- | tinyusb/hal/hal_lpc43xx.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tinyusb/hal/hal_lpc43xx.c b/tinyusb/hal/hal_lpc43xx.c index f7280041e..770ffd4ce 100644 --- a/tinyusb/hal/hal_lpc43xx.c +++ b/tinyusb/hal/hal_lpc43xx.c @@ -54,4 +54,18 @@ tusb_error_t hal_init() return TUSB_ERROR_NONE; } +void USB0_IRQHandler(void) +{ +#if TUSB_CFG_CONTROLLER0_MODE + tusb_isr(0); +#endif +} + +void USB1_IRQHandler(void) +{ +#if TUSB_CFG_CONTROLLER1_MODE + tusb_isr(1); +#endif +} + #endif |
