Content originally posted in LPCWare by cgha on Tue Nov 06 02:03:37 MST 2012 I want to set an endpoint to see if the device is disconnect correctly from the LPC1768 usb host. Thanks!
To cut short: HcInterruptStatus, bit RootHubStatusChange will be set. Then in HcRhPortStatus, bit ConnectStatusChange will be updated for connect / disconnect event. Note that suspend / remote wake-up may also affect RootHubStatusChange status as well.