From 2c8596edebaedd0ceae46a56385c71c83dda531c Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 4 Mar 2013 18:46:02 +0700 Subject: abstract call chains from hal usb isr --- tinyusb/host/ehci/ehci.c | 5 +++++ tinyusb/host/ehci/ehci.h | 5 ----- tinyusb/host/hcd.h | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'tinyusb/host') diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c index 27562974f..b2d6268f3 100644 --- a/tinyusb/host/ehci/ehci.c +++ b/tinyusb/host/ehci/ehci.c @@ -128,6 +128,11 @@ tusb_error_t hcd_init(void) return TUSB_ERROR_NONE; } +void hcd_isr(uint8_t hostid) +{ + +} + //--------------------------------------------------------------------+ // Controller API //--------------------------------------------------------------------+ diff --git a/tinyusb/host/ehci/ehci.h b/tinyusb/host/ehci/ehci.h index 880a0e477..4b8ec1f17 100644 --- a/tinyusb/host/ehci/ehci.h +++ b/tinyusb/host/ehci/ehci.h @@ -91,11 +91,6 @@ #error EHCI_CFG_FRAMELIST_SIZE_BITS must be from 0-7 #endif -//--------------------------------------------------------------------+ -// USBH-HCD API -//--------------------------------------------------------------------+ -void hcd_isr(uint8_t hostid); - //--------------------------------------------------------------------+ // EHCI Data Structure //--------------------------------------------------------------------+ diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index 0051b028e..b046a0e64 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -67,6 +67,7 @@ typedef uint32_t pipe_handle_t; // USBH-HCD API //--------------------------------------------------------------------+ tusb_error_t hcd_init() ATTR_WARN_UNUSED_RESULT; +void hcd_isr(uint8_t hostid); //--------------------------------------------------------------------+ // PIPE API -- cgit v1.3.1