When the USB cable is removed from the i.MX28 EVK board, an interrupt is triggered. The HW_USBCTRL_USBSTS register in the USB controller block indicates that it is the SLI interrupt (DC Suspend). When a Suspend is received from host, the same interrupt is generated. How do I distinguish between these two kinds of events?
I'm not using Linux.