keyboard example works with lpc1347 xpresso

This commit is contained in:
hathach
2013-05-29 15:23:07 +07:00
parent dda0808ebb
commit d5836751d9
4 changed files with 15 additions and 7 deletions

View File

@@ -54,7 +54,14 @@ tusb_error_t hal_init()
LPC_IOCON->PIO0_6 &= ~0x07;
LPC_IOCON->PIO0_6 |= (0x01<<0); /* Secondary function SoftConn */
hal_interrupt_enable(0);
return TUSB_ERROR_NONE;
}
void USB_IRQHandler(void)
{
tusb_isr(0);
}
#endif