How can I tell that the CY7C68013 is enumerated? I need to send notification to the hardware (via firmware) that the USB cable has been unplugged.
In a self powered design you have to monitor the VBus for correct USB behavior: Take a look into the Cypress AN15813 for details. Doing this, you have an information about the cable plugged or not. You can also watch the "SetConfiguration" Command, but this is only called at Plug-In and successfull enumeration by teh host. AFAIK there is no software command after removing the USB cable.