/* 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)
{
    LPC_SYSCON->USBCLKCTRL = 1;
    LPC_USB->DEVCMDSTAT &= ~(1UL << 17);
    while (LPC_USB->DEVCMDSTAT & (1UL << 17));
    LPC_SYSCON->USBCLKCTRL = 0;
}