Universal Serial Bus (USB)
Am186™CC/CH/CU Microcontrollers User’s Manual
18-27
.
18.5.9.2
Commands Handled by the USB Peripheral Controller Hardware
Table 18-6 on page 18-28 describes the commands that do not require device software
handling. When these commands are detected by the USB peripheral controller, they are
handled entirely in hardware. The device software does have the ability to detect the
reception of any USB setup packet sent to it by the USB host, but it cannot monitor the
specific setup packet type when the command is handled solely by the controller hardware.
Table 18-5
USB Commands Handled by Device Software
Command
Parameters and
Data Passed
Data
Direction
Results
GET_DESCRIPTOR
Device, Configuration,
or String Descriptor
IN
The device software, upon detecting this
command, should return all of the data associated
with the particular descriptor that was requested.
Because this controller allows the endpoint
parameters to be programmed at any time, an un-
limited number of descriptors can be supported.
SET_CONFIGURATION Device Configuration
OUT
The device software, upon detecting this
command, should configure all of the endpoints
with the applicable USB parameters based on the
descriptor information that was passed to the host
during the GET_DESCRIPTOR command.
SET_INTERFACE
Interface Alternate
Setting
OUT
The device software, upon detecting this
command, should configure the endpoints
associated with the specified interface, for the
requested alternate setting, based on the
descriptor information that was passed to the host
during the GET_DESCRIPTOR command.
SET_DESCRIPTOR
Device, Configuration,
String, Interface, or
Endpoint Descriptor
OUT
The device software, upon detecting this
command, should accept a new descriptor from
the USB host.
SYNC_FRAME
Synchronization Frame IN
The device software, upon detecting this
command, should return the frame number in
which an isochronous, IN endpoint begins its data
pattern.
Device Class or
Vendor Specific
Various
IN and
OUT
The device software should service the
commands that it has been programmed to
handle. If the device software does not recognize
a particular command it should clear the
EP_NOT_STALLED bit in the CNTCTL register to
direct the controller hardware to return the stalled
handshake in the data stage. (The
NEW_COMMAND bit must be cleared at the
same time, or clearing the EP_NOT_STALLED bit
has no effect.)
Содержание Am186 CC
Страница 1: ...Am186 CC CH CU Microcontrollers User s Manual Order 21914B...
Страница 4: ...iv Am186 CC CH CU Microcontrollers User s Manual...
Страница 18: ...Table of Contents xviii Am186 CC CH CU Microcontrollers User s Manual...
Страница 24: ...Introduction xxiv Am186 CC CH CU Microcontrollers User s Manual...
Страница 39: ...Architectural Overview Am186 CC CH CU Microcontrollers User s Manual 1 15 Figure 1 6 32 Channel Linecard CH CC...
Страница 40: ...Architectural Overview 1 16 Am186 CC CH CU Microcontrollers User s Manual...
Страница 86: ...System Overview 3 36 Am186 CC CH CU Microcontrollers User s Manual...
Страница 92: ...Emulator Support 4 6 Am186 CC CH CU Microcontrollers User s Manual...
Страница 112: ...DRAM Controller 6 8 Am186 CC CH CU Microcontrollers User s Manual...
Страница 134: ...Interrupts 7 22 Am186 CC CH CU Microcontrollers User s Manual...
Страница 186: ...Programmable I O Signals 9 8 Am186 CC CH CU Microcontrollers User s Manual...
Страница 200: ...Watchdog Timer 11 6 Am186 CC CH CU Microcontrollers User s Manual...
Страница 232: ...Asynchronous Serial Ports UARTs 13 24 Am186 CC CH CU Microcontrollers User s Manual...
Страница 242: ...Synchronous Serial Port SSI 14 10 Am186 CC CH CU Microcontrollers User s Manual...
Страница 264: ...High Level Data Link Control HDLC 15 22 Am186 CC CH CU Microcontrollers User s Manual...
Страница 332: ...Universal Serial Bus USB 18 34 Am186 CC CH CU Microcontrollers User s Manual...
Страница 348: ...Register Summary A 16 Am186 CC CH CU Microcontrollers User s Manual...
Страница 376: ...Index Index 18 Am186 CC CH CU Microcontrollers User s Manual...