Texas Instruments OMAP5912 Reference Manual page 1440

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

USB Device Controller
3.13
Setup Interrupt Handler
148
Universal Serial Bus (USB)
A separate interrupt flag exists for setup transactions so that the MPU cannot
miss a setup transaction, even if it occurs during the data or status phase of
another transfer (case of an aborted transfer). The setup parsing function
captures the control transfer request information for use in determining which
USB bus activity is needed and in controlling how the MPU must generate or
respond to the control transfer. This information includes the following:
-
bmRequestType
-
bmRequest
-
wValue
-
wIndex
-
wLength
The setup interrupt handler shown in Figure 16 is responsible for processing
setup transactions occurring on endpoint 0. It calls the routine that parses the
control transfer request information, shown in Figure 17 to set flags that the
rest of the ISR code can use to control proper response to control transfers.
Two flags are set by the setup interrupt handler, to be used during endpoint 0
interrupt handlers:
-
Control read flag
-
Control write flag
SPRU761A

Advertisement

Table of Contents
loading

Table of Contents