Read interrupt
status register
Resume
interrupt
?
Resume routine
Yes
No
A
device or
B device
?
SESSREQ
interrupt
?
No
Vbus
error interrupt
?
Yes
Yes
A device
B device
Session req
routine
routine
Vbus error
?
Host
or peripheral
Peripheral
Host
?
Connect
interrupt
Connect
routine
Yes
routine
Babble
?
Yes
Babble
interrupt
EP0
Yes
Host EP0
routine
interrupt
?
No
No
No
No
Host Rx
routine
Yes
interrupt
?
Receive
Host Tx
routine
?
No
Yes
Transmit
interrupt
interrupt
?
EP0
Yes
Peripheral
EP0 routine
No
interrupt
?
Receive
No
Rx routine
Peripheral
Yes
Transmit
interrupt
?
Tx routine
Peripheral
Yes
interrupt
?
SOF
routine
Resume
Yes
interrupt
?
Disconn
Disconnect
Yes
routine
Suspend
interrupt
?
Suspend
Yes
routine
Architecture
1613
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Universal Serial Bus 2.0 (USB) Controller
Figure 34-3. Interrupt Service Routine Flow Chart