Interrupt Service Routine (ISR) Flowcharts
13-103
USB Function Module
Figure 13–26. Typical Operation for USB Suspend/Resume General USB Interrupt Handler
Suspend/resume
handler
Inform
application that
entering
suspend.
DEVSTAT.SUS
No
Yes
Inform
application of
resume.
End of suspend/
resume handler
Is remote wake-up
supported?
Is low power mode
supported?
Set IRQ_SRC.DS
to clear the IT.
device is
_Chg = 1
Set IRQ_SRC.DS
to clear the IT.
_Chg = 1
Read
DEVSTAT.R_Wk_
OK value.
= 1?