diff options
| author | hathach <[email protected]> | 2019-11-21 22:20:30 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-11-21 22:20:30 +0700 |
| commit | bbec47b647ab7b2e38644ffff60f45b54b791d42 (patch) | |
| tree | 28bdbae7b6b7874b3349358b67362fdee8dce55e /src/host | |
| parent | 9fe34c2e622ed8b1333839aae7b823d87e78f0ea (diff) | |
adding tud_isr/tuh_isr with lpc18/43
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h index 311b2514d..42a2bd095 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -68,6 +68,9 @@ typedef struct { //--------------------------------------------------------------------+ void tuh_task(void); +// Interrupt handler, name alias to HCD +#define tuh_isr hcd_isr + tusb_device_state_t tuh_device_get_state (uint8_t dev_addr); static inline bool tuh_device_is_configured(uint8_t dev_addr) { |
