2010-08-12 02:15 PM
Virtual Com Port - Detect USB Disconnect
2012-03-25 06:42 AM
If you use USB in device mode, it is quite easy: Just check the state of the bit USB_OTG_dev.regs.DREGS->DSTS (bit 0)