![](/images/new-backgrounds/1171214/17121449x1.webp)
www.ti.com | USB Controller Host and Peripheral Modes Operation |
Figure 2. Interrupt Service Routine Flow Chart
Read interrupt status register
|
| Yes | Resume |
|
|
|
| Resume routine |
|
|
| ||
| interrupt |
|
|
| ||
|
|
|
|
|
| |
|
|
| ? |
|
|
|
|
|
| No |
|
|
|
|
| A device | A | B device |
| |
|
| device or |
| |||
|
|
|
|
|
| |
|
|
| B device |
|
|
|
|
|
| ? |
|
|
|
Session req | Yes | SESSREQ |
|
|
|
|
routine |
| interrupt |
|
|
|
|
|
| ? |
|
|
|
|
|
| No |
|
|
|
|
Vbus error | Yes | Vbus |
|
|
|
|
error interrupt |
|
|
|
| ||
routine |
|
|
|
|
| |
| ? |
|
|
|
| |
|
|
|
|
|
| |
|
| Host | Host | Peripheral |
| |
|
|
| or peripheral |
|
|
|
|
|
| ? |
|
|
|
Connect | Yes | Connect |
|
| EP0 | Yes |
routine |
| interrupt |
|
| interrupt |
|
| ? |
|
| ? |
| |
|
|
|
|
| ||
|
| No |
|
| No |
|
Babble | Yes | Babble |
|
| Receive | Yes |
routine |
| interrupt |
|
| interrupt |
|
| ? |
|
| ? |
| |
|
|
|
|
| ||
|
| No |
|
| No |
|
Host EP0 | Yes | EP0 |
|
| Transmit | Yes |
routine |
| interrupt |
|
| interrupt |
|
| ? |
|
| ? |
| |
|
|
|
|
| ||
|
| No |
|
|
|
|
Host Rx | Yes | Receive |
|
|
|
|
routine |
| interrupt |
|
|
|
|
| ? |
|
|
|
| |
|
|
|
|
|
| |
|
| No |
|
|
|
|
Host Tx | Yes | Transmit |
|
|
|
|
routine |
| interrupt |
|
|
|
|
| ? |
|
|
|
| |
|
|
|
|
|
| |
|
| No |
|
|
|
|
|
|
| SOF | Yes | Resume |
|
|
|
| interrupt |
| routine |
|
|
|
| ? |
|
| |
|
|
|
|
|
| |
|
|
| Disconn | Yes | Disconnect | |
|
|
| interrupt |
| routine |
|
|
|
| ? |
|
| |
|
|
|
|
|
| |
|
|
| Suspend | Yes | Suspend |
|
|
|
| interrupt |
| routine |
|
|
|
| ? |
|
| |
|
|
|
|
|
|
Peripheral EP0 routine
Peripheral Rx routine
Peripheral Tx routine
Universal Serial Bus (USB) Controller | 25 | |
Submit Documentation Feedback |
|
|