abstract call chains from hal usb isr

This commit is contained in:
hathach
2013-03-04 18:46:02 +07:00
parent a259be6edf
commit 2c8596edeb
8 changed files with 37 additions and 11 deletions

View File

@@ -128,6 +128,11 @@ tusb_error_t hcd_init(void)
return TUSB_ERROR_NONE;
}
void hcd_isr(uint8_t hostid)
{
}
//--------------------------------------------------------------------+
// Controller API
//--------------------------------------------------------------------+

View File

@@ -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
//--------------------------------------------------------------------+

View File

@@ -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