/* USB Device Resume Function Called automatically on USB Device Resume Return Value: None  */
void USBD_Resume(void)
/* USB Device Resume Function Called automatically on USB Device Resume Return Value: None  */
void USBD_Resume(void)
{
    UDPHS->UDPHS_IEN  &= ~UDPHS_IEN_WAKE_UP;
    UDPHS->UDPHS_IEN  |=  UDPHS_IEN_DET_SUSPD;
}