![Freescale Semiconductor MCF54455 Скачать руководство пользователя страница 277](http://html1.mh-extra.com/html/freescale-semiconductor/mcf54455/mcf54455_reference-manual_2330541277.webp)
Universal Serial Bus Interface – On-The-Go Module
10-70
Freescale Semiconductor
10.5.3.5.1
Queue Head Initialization
One pair of device queue heads must be initialized for each active endpoint. To initialize a device queue
head:
•
Write the wMaxPacketSize field as required by the USB specification chapter 9 or application
specific protocol.
•
Write the multiplier field to 0 for control, bulk, and interrupt endpoints. For ISO endpoints, set the
multiplier to 1,2, or 3 as required for bandwidth with the USB specification chapter 9 protocol. In
FS mode, the multiplier field can only be 1 for ISO endpoints.
•
Set the next dTD terminate bit field.
•
Clear the active bit in the status field.
•
Clear the halt bit in the status field.
NOTE
The DCD must only modify dQH if the associated endpoint is not primed
and there are no outstanding dTDs.
10.5.3.5.2
Setup Transfers Operation
Section 10.5.3.4.4, “Control Endpoint Operation,”
setup transfers require special
treatment by the DCD. A setup transfer does not use a dTD, but instead stores the incoming data from a
setup packet in an 8-byte buffer within the dQH.
Upon receiving notification of the setup packet, the DCD should manage the setup transfer by:
1. Copying setup buffer contents from dQH-RX to software buffer.
2. Acknowledging setup backup by writing a 1 to the corresponding bit in the EPSETUPSR register.
NOTE
The acknowledge must occur before continuing to process the setup packet.
After acknowledge occurs, DCD must not attempt to access the setup buffer
in dQH-RX. Only local software copy should be examined.
3. Checking for pending data or status dTD's from previous control transfers and flushing if any exist
Section 10.5.3.6.5, “Flushing/De-priming an Endpoint.”
NOTE
It is possible for the device controller to receive setup packets before
previous control transfers complete. Existing control packets in progress
must be flushed and the new control packet completed.
4. Decoding setup packet and prepare data phase (optional) and status phase transfer as required by
the USB specification chapter 9 or application specific protocol.
Содержание MCF54455
Страница 33: ...xxviii Freescale Semiconductor ...
Страница 67: ...Freescale Semiconductor 1 ...
Страница 125: ...Freescale Semiconductor 1 ...
Страница 145: ...Enhanced Multiply Accumulate Unit EMAC 5 21 Freescale Semiconductor ...
Страница 173: ...Cache 6 28 Freescale Semiconductor ...
Страница 179: ...Static RAM SRAM 7 6 Freescale Semiconductor ...
Страница 207: ...Power Management 9 16 Freescale Semiconductor ...
Страница 323: ...Reset Controller Module 13 8 Freescale Semiconductor ...
Страница 389: ...Pin Multiplexing and Control 16 44 Freescale Semiconductor ...
Страница 575: ...PCI Bus Controller 22 58 Freescale Semiconductor ...
Страница 600: ...Advanced Technology Attachment ATA Freescale Semiconductor 23 25 ...
Страница 601: ...Freescale Semiconductor 1 ...
Страница 842: ...I2 C Interface Freescale Semiconductor 33 16 ...
Страница 843: ...Freescale Semiconductor 1 ...
Страница 921: ...Revision History A 6 Freescale Semiconductor ...