/* USB Device Remote Wakeup Function Called automatically on USB Device Remote Wakeup Return Value: None  */
void USBD_WakeUp(void)
/* USB Device Remote Wakeup Function Called automatically on USB Device Remote Wakeup Return Value: None  */
void USBD_WakeUp(void)
{
    SYSCON->USB1NEEDCLKCTRL = SYSCON_USB1NEEDCLKCTRL_AP_HS_DEV_NEEDCLK_MASK;
    USBHSD->DEVCMDSTAT &= ~USBHSD_DEVCMDSTAT_DSUS_MASK;
    while (USBHSD->DEVCMDSTAT & USBHSD_DEVCMDSTAT_DSUS_MASK);
    SYSCON->USB1NEEDCLKCTRL = 0;
}