Texas Instruments TMS320DM357 Manuel D’Utilisation

Page de 144
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
www.ti.com
USB Controller Host and Peripheral Modes Operation
Figure 2. Interrupt Service Routine Flow Chart
SPRUGH3 – November 2008
Universal Serial Bus (USB) Controller
25