diff options
| author | hathach <[email protected]> | 2018-03-06 17:38:35 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-06 17:38:35 +0700 |
| commit | fce85875c49a7d18115c4f0c2cf91d7f8e5df9d9 (patch) | |
| tree | 7a84dcdedfd27e7f7384333250ddf7522801c19e /tinyusb/host | |
| parent | 98f12c9833b4867cad46ea80ca2525d26fd6b075 (diff) | |
remove tusb_isr(), rename hal_hcd_isr() and hal_dcd_isr()
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/ehci/ehci.c | 2 | ||||
| -rw-r--r-- | tinyusb/host/hcd.h | 2 | ||||
| -rw-r--r-- | tinyusb/host/ohci/ohci.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c index 167b8f2bf..f76b6c3f3 100644 --- a/tinyusb/host/ehci/ehci.c +++ b/tinyusb/host/ehci/ehci.c @@ -730,7 +730,7 @@ static void xfer_error_isr(uint8_t hostid) }
//------------- Host Controller Driver's Interrupt Handler -------------//
-void hcd_isr(uint8_t hostid)
+void hal_hcd_isr(uint8_t hostid)
{
ehci_registers_t* const regs = get_operational_register(hostid);
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h index 604b89f7f..57ba7dbbe 100644 --- a/tinyusb/host/hcd.h +++ b/tinyusb/host/hcd.h @@ -85,7 +85,7 @@ static inline bool pipehandle_is_equal(pipe_handle_t x, pipe_handle_t y) // USBH-HCD API
//--------------------------------------------------------------------+
tusb_error_t hcd_init(void) ATTR_WARN_UNUSED_RESULT;
-void hcd_isr(uint8_t hostid);
+void hal_hcd_isr(uint8_t hostid);
//--------------------------------------------------------------------+
// PIPE API
diff --git a/tinyusb/host/ohci/ohci.c b/tinyusb/host/ohci/ohci.c index ef6da66d5..10998f859 100644 --- a/tinyusb/host/ohci/ohci.c +++ b/tinyusb/host/ohci/ohci.c @@ -658,7 +658,7 @@ static void done_queue_isr(uint8_t hostid) }
}
-void hcd_isr(uint8_t hostid)
+void hal_hcd_isr(uint8_t hostid)
{
uint32_t const int_en = OHCI_REG->interrupt_enable;
uint32_t const int_status = OHCI_REG->interrupt_status & int_en;
|
