move irqhandler to application

tud_isr() must be called by application to forward the irqhandle to the
stack
This commit is contained in:
hathach
2020-04-06 14:11:45 +07:00
parent 4430ea61e2
commit 2d6d298302
13 changed files with 138 additions and 68 deletions

View File

@@ -89,7 +89,7 @@ typedef struct TU_ATTR_ALIGNED(4)
void dcd_init (uint8_t rhport);
// Interrupt Handler
void dcd_isr (uint8_t rhport);
void dcd_isr (uint8_t rhport) TU_ATTR_USED;
// Enable device interrupt
void dcd_int_enable (uint8_t rhport);