Figure 15.
General USB Interrupt ISR Source Parsing Flowchart
Enter general USB
USB device state
changed handle
No
IRQ_SRC.EP0_RX
No
IRQ_SRC.EP0_TX
No
IRQ_SRC.
RXn_EOT =1?
No
IRQ_SRC.
RXn_Cnt =1?
No
IRQ_SRC.
TXn_Done =1?
IRQ_SRC.SETUP
No
Return from general
USB ISR
SPRU761A
ISR
Must be
IRQ_SRC.DS_CHG
Set
Yes
IRQ_SRC.
EP0_RX = 1
=1?
to clear the IT.
Set
Yes
IRQ_SRC.
EP0_TX = 1
=1?
to clear the IT.
Non-ISO RX DMA
Yes
end of transfer
handler
Non-ISO RX DMA
Yes
transactions
count handler
Yes
Non-ISO TX DMA
done handler
Yes
Setup
handler
=1?
The interrupt must
be cleared within the
device state changed
handler.
EP0 RX
handler
EP0 TX
handler
DMA interrupts
are cleared within their
respective handlers.
Universal Serial Bus (USB)
USB Device Controller
147