/* USB Device Remote Wakeup Configuration Function Parameters: cfg: Device Enable/Disable Return Value: None  */
void USBD_WakeUpCfg(BOOL cfg)
/* USB Device Remote Wakeup Configuration Function Parameters: cfg: Device Enable/Disable Return Value: None  */
void USBD_WakeUpCfg(BOOL cfg)
{
    if (cfg) {
    } else {
        UDPHS->UDPHS_CTRL &= ~UDPHS_CTRL_REWAKEUP;
        UDPHS->UDPHS_IEN  &= ~UDPHS_IEN_UPSTR_RES;
    }
}