Intel SA-1110 Food Processor User Manual


 
270 SA-1110 Developers Manual
Peripheral Control Module
Device-Request Commands in the form of Control transactions to Endpoint 0. Table 11-13 shows a
summary of all Device-Request Commands. Users should refer to the Universal Serial Bus
Specification Revision 1.1 for a full description of Host Device-Request Commands.
Each SETUP Control transaction to Endpoint 0 starts with a SETUP Token Packet which is
followed by an 8-byte DATA0 Data Packet. The SETUP Control transaction ends with a
Handshake Packet. The 8-byte DATA0 Data Packet specifies:
Data transfer direction: Host to device, device to Host
Data transfer type: standard, class, vendor
Data recipient: device, interface, endpoint, other
Number of bytes to transfer
Index or offset
Value: used to pass a variable-sized data parameter
Device-Request Command
The SA-1110 UDC can decode and handle some Device-Request Commands with SA-1110 CPU
intervention. However, all Device-Request Commands are passed from the SA-1110 UDC FIFO by
software to memory so that the SA-1110 UDC Driver software (via SA-1110 CPU execution) can
examine them and, if needed, take action.
In response to the GET_DESCRIPTOR command, the SA-1110 UDC Driver Software sends back
a description of the SA-1110 UDC configuration. The SA-1110 UDC can physically support more
data channel bandwidth than the USB specification allows. When the device responds to the Host,
it must specify a legal USB configuration. The user device determines which endpoints to report to
the Host. If an endpoint is not reported, it is not used. The direction of the endpoints are fixed.
Table 11-13. Host Device-Request Command Summary
Device-Request
Commands
Name
SET_FEATURE Used to enable a specific feature such as device remote wake-up and
endpoint stalls.
CLEAR_FEATURE Used to clear or disable a specific feature.
SET_CONFIGURATION Configures the UDC for operation. Used following a reset of the SA-1110 or
after a reset has been signalled via the USB bus.
GET_CONFIGURATION Returns the current SA-1110 UDC configuration to the Host.
SET_DESCRIPTOR Used to set existing descriptors or add new descriptors. Existing descriptors
include: device, configuration, string, interface, and endpoint.
GET_DESCRIPTOR Returns the specified descriptor if it exists.
SET_INTERFACE Used to select an alternate setting for the SA-1110 UDCs interface.
GET_INTERFACE Returns the selected alternate setting for the specified interface.
GET_STATUS Returns the SA-1110 UDCs status including: remote wake-up, self-powered,
data direction, endpoint number, and stall status.
SET_ADDRESS Sets the SA-1110 UDCs 7-bit address value for all future device accesses.
SYNCH_FRAME Used to set and then report an endpoints synchronization frame.