/* USB Device Connect Function Called by the User to Connect/Disconnect USB Device Parameters: con: Connect/Disconnect Return Value: None  */
void USBD_Connect(BOOL con)
/* USB Device Connect Function Called by the User to Connect/Disconnect USB Device Parameters: con: Connect/Disconnect Return Value: None  */
void USBD_Connect(BOOL con)
{
    if (con) {
        USBHS->USBCMD |= 1;
    } else {
        USBHS->USBCMD &= ~1;
    }
}