Interrupt Service Routine (ISR) Flowcharts
13-102
Figure 13–25. USB Reset Handler Flowchart II
USB reset handler
Clear endpoint
control transfer flags.
Application-
specific actions
to clear app’s
RX and TX
buffers
End of USB reset
handler
Application-
specific actions
to mark all
endpoints un-
halted
Application-
specific actions
to mark device
as not in
suspend mode
Application-
specific actions
to clear app’s
Config #, Alt.
I/F #s
Application-
specific actions
to mark device
as not remote-
wake-enabled
Application-
specific actions
to clear local
copy of frame
number
USB_Reset
= 1 ?
Yes
Inform application
that the USB
reset has completed
and that device is in
default state.
No
Set IRQ_SRC.DS_Chg
to clear the IT.
DEVSTAT.
transaction and
= 1