|
MC68HC908JW32_09 Datasheet, PDF (150/232 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers | |||
|
◁ |
USB 2.0 FS Module
11.3.4 USB Requestor Processor
The USB requestor processor automatically process some standard USB requests as listed in
Table 11-2.
Table 11-2. USB Requests Handling
Request
CLEAR_FEATURE
GET_CONFIGURATION
GET_DESCRIPTOR
GET_INTERFACE
GET_STATUS
SET_ADDRESS
SET_CONFIGURATION
SET_DESCRIPTOR
SET_FEATURE
SET_INTERFACE
Handling
Requestor processor clears the feature speciï¬ed by the feature selector. For
USB speciï¬cation 2.0, only two features are speciï¬ed -
DEVICE_REMOTE_WAKEUP and ENDPOINT_HALT. The module stores
the HALT status and remote wakeup status internally. No user attention is
required.
Return the conï¬guration number speciï¬ed in CONFIG. No user notiï¬cation
is provided.
This requests is not handled automatically by the request processor. User is
notiï¬ed by the SETUP ï¬ag and the TFRC_OUT ï¬ag being set. The request
command can be decoded through the 8-byte endpoint 0 OUT data buffer.
User must ï¬ll up the Endpoint 0 data IN buffer 8 bytes at a time manually
with the corresponding descriptor requested by the host. When DVALID_IN
bit is set and TFRC_IN ï¬ag is cleared, the requestor processor responses to
the next IN packet with the data stored. Before the DVALID_IN bit is set,
NAK is returned to all IN packet.
No alternate setting is support by the module, Alternative interface number
zero is always return. No user notiï¬cation is provided.
Returns the current status of the speciï¬ed device, endpoint or interface. No
user notiï¬cation is provided.
Internal address register is modiï¬ed. The control logic begins responding to
the new address once the status stage of the request completes
successfully. No user notiï¬cation is provided.
If the conï¬guration value is zero, the USB module is placed into the
unconï¬gured state. If the device is successfully conï¬gured by the host, the
new conï¬guration value is speciï¬ed by CONFIG bit.
NOTE: User is notiï¬ed if the request completes successfully. CONFIG_CHG
ï¬ag of USB Status Register (USBSR) will be set upon a successful
completion of the request where the conï¬guration number is changed from
zero to one. User can read the CONFIG ï¬ag for the corresponding changes.
Not supported. STALL packet is returned to the host.
Corresponding feature speciï¬ed by the packet is enabled accordingly. No
user attention is required.
No alternative setting is supported. If the alternative setting number is zero,
ACK is returned to the host. No user notiï¬cation is provided.
Passed to the user as a vendor speciï¬c request.
SYNC_FRAME
NOTE: SETUP ï¬ag, TFRC_OUT ï¬ag and DVALID_OUT ï¬ag will be set.
User should decode the request via reading the endpoint 0 data registers
(UE0D0-UE0D7).
MC68HC908JW32 Data Sheet, Rev. 6
150
Freescale Semiconductor
|
▷ |