Universal Serial Bus (USB)
Am186™CC/CH/CU Microcontrollers User’s Manual
18-13
The following registers configure a data endpoint in response to commands received from
the USB host. For details on any of these registers, see the
Am186™CC/CH/CU
Microcontrollers Register Set Manual, order #21916.
■
Endpoint Definition 1 (xEPDEF1):
– Based on the SET_CONFIGURATION command, the device software should write
the EP_CFG field in the xEPDEF1 register.
– Based on the SET_INTERFACE command, the device software should write the
EP_INT and EP_ASET fields in the xEPDEF1 register.
– The Endpoint number should be configured through the EP_NUM field in the xEPDEF1
register.
– Endpoint direction and Endpoint type should be configured through the EP_DIR and
EP_TYPE fields, respectively.
■
Endpoint Definition 2 (xEPDEF2):
FIFO size and endpoint maximum packet value fields can be programmed. The values
depend on the endpoint type selection. (Endpoint A and B FIFOs can be 8 or 16 bytes.
Endpoint C and D FIFOs can be 8, 16, 32, or 64 bytes.)
■
Endpoint Definition 3 (xEPDEF3):
– Based on application requirements, the appropriate interrupt mask and stop mask
fields are programmable.
– The MODE field can configure the endpoint. This determines how the endpoint
interfaces with system memory or another peripheral's data port.
– To enable the auto rate feature, use the AUTO_RATE_EN field. Note that this feature
only applies to an endpoint that is configured as an isochronous IN endpoint and
interfaces with a DMA mode. This feature requires additional programming in the
Isochronous Synchronization Control (ISCTL) register. For more information, see
“Isochronous Transfer Features” on page 18-24.
■
Endpoint Received Packet Size (xEPSIZ):
This is a status register that provides information on the size of the received packet (in
bytes) when the endpoint is configured for the OUT direction.
■
Endpoint Buffer Status (xEPBUFS):
This is a status register that provides information on the number of bytes, if any, is in the
endpoint FIFO.
■
Endpoint Data Port (xEPDAT):
Device software or the DMA controller uses this register to read/write to the endpoint
FIFO. A valid access to this register increments the address pointer.
■
Endpoint Receive Data Port Peek (xRCVPK):
Debug or emulator software uses this register to read the endpoint data FIFO
without
advancing the address pointer. It is only applicable for the OUT direction.
Содержание 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...