working on nrf52

This commit is contained in:
hathach
2018-03-13 16:30:53 +07:00
parent 2435abb0a8
commit ffca1f5e64
20 changed files with 186 additions and 100 deletions

View File

@@ -41,13 +41,13 @@
#if TUSB_CFG_MCU == MCU_LPC13UXX
void tusb_hal_init_enable(uint8_t port)
void tusb_hal_int_enable(uint8_t port)
{
(void) port; // discard compiler's warning
NVIC_EnableIRQ(USB_IRQ_IRQn);
}
void tusb_hal_init_disable(uint8_t port)
void tusb_hal_int_disable(uint8_t port)
{
(void) port; // discard compiler's warning
NVIC_DisableIRQ(USB_IRQ_IRQn);