
DocID018909 Rev 11
RM0090
USB on-the-go high-speed (OTG_HS)
1529
Figure 417. Normal bulk/control OUT/SETUP and bulk/control IN transactions - Slave
mode
The channel-specific interrupt service routine for bulk and control OUT/SETUP
transactions in Slave mode is shown in the following code samples.
•
Interrupt service routine for bulk/control OUT/SETUP and bulk/control IN
transactions
a) Bulk/Control
OUT/SETUP
Unmask (NAK/TXERR/STALL/XFRC)
if (
XFRC
)
{
Reset Error Count