Detect Suspend Mode
Posted: Sun Jun 08, 2014 9:10 pm
Hi guys,
I have an USB application with the V-USB library and want to detect if the host is in suspend mode.
If it's true, then a LED should turn off. When the host wakes up, the LED should turn on.
In my case, D- is connected to INT0. INT1 is already used by another hardware.
Is there an easy method to do that?
Cheers,
AlexDigital
I have an USB application with the V-USB library and want to detect if the host is in suspend mode.
If it's true, then a LED should turn off. When the host wakes up, the LED should turn on.
In my case, D- is connected to INT0. INT1 is already used by another hardware.
Is there an easy method to do that?
Cheers,
AlexDigital