/* Usb interrupt enable/disable Parameters: ena: enable/disable 0: disable interrupt 1: enable interrupt USB Device Initialize Function Called by the User to initialize USB Device Return Value: None  */
void USBD_Init(void)
/* Usb interrupt enable/disable Parameters: ena: enable/disable 0: disable interrupt 1: enable interrupt USB Device Initialize Function Called by the User to initialize USB Device Return Value: None  */
void USBD_Init(void)
{
    hic_enable_usb_clocks();
    USBHSD->DEVCMDSTAT  |= USBHSD_DEVCMDSTAT_FORCE_NEEDCLK_MASK;
    USBHSD->DATABUFSTART = EP_BUF_BASE & 0xFFC00000;
    USBHSD->EPLISTSTART  = EP_LIST_BASE;
    NVIC_EnableIRQ(USB1_IRQn);
    USBD_Reset();
}