rename lpc 17/18 irq to dcd_isr/hcd_isr

This commit is contained in:
hathach
2019-11-21 16:08:08 +07:00
parent 54d597b723
commit 043697ab95
7 changed files with 47 additions and 61 deletions
+1 -1
View File
@@ -623,7 +623,7 @@ static void xfer_error_isr(uint8_t hostid)
}
//------------- Host Controller Driver's Interrupt Handler -------------//
void hal_hcd_isr(uint8_t rhport)
void hcd_isr(uint8_t rhport)
{
ehci_registers_t* regs = ehci_data.regs;
+1 -1
View File
@@ -599,7 +599,7 @@ static void done_queue_isr(uint8_t hostid)
}
}
void hal_hcd_isr(uint8_t hostid)
void 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;