Host (pci/usb) port. Over view. Host Port Selection. Configuration Spaces. PCI Configuration Space, страница 13

References

The following are references that you might want to use:

•  Universal Serial Bus Specification, Revision 1.1, USB Implementers Forum, www.usb.org

•  OHCI Specification, Revision 1.0 USB Implementers Forum, www.usb.org

•  Tools – Keil Software Developer’s Kit P.No. DK51

Keil Software Inc., 16990 Dallas Parkway, Suite 120, Dallas, TX

•  USB Device Class Specifications, www.usb.org.Device Developers can use this to make use of standardized device drivers on the USB host

•  USB System Architecture, Don Anderson, Mindshare Inc.

MC U Re g iste r De finitions

MCU registers are defined in four memory spaces grouped by the following address ranges:

0x0XXX       This address range defines general-purpose USB status and control registers

0x1XXX       This address range defines registers that are specific to Endpoint setup and control

0x2XXX    This address range defines the registers used for REGIO accesses to the DSP register space

0x3XXX       This address range defines the MCU program memory write address space

Table 8-11. USB MCU Register Definitions

Address

Name

Comment

0x0000-0x0007

USB SETUP Token Cmd

8 bytes total

0x0008-0x000F

USB SETUP Token Data

8 bytes total

0x0010-0x0011

USB SETUP Counter

16 bit counter

0x0012-0x0013

USB Control

Misc control including re-attach

0x0014-0x0015

USB Address/Endpoint

Address of device/active Endpoint

0x0016-0x0017

USB Frame Number

Current frame number

0x1000-0x1001

USB EP4 Description

Configures Endpoint

0x1002-0x1003

USB EP4 NAK Counter

0x1004-0x1005

USB EP5 Description

Configures Endpoint

Table 8-11. USB MCU Register Definitions (Continued)

Address

Name

Comment

0x1006-0x1007

USB EP5 NAK Counter

0x1008-0x1009

USB EP6 Description

Configures Endpoint

0x100A-0x100B

USB EP6 NAK Counter

0x100C-0x100D

USB EP7 Description

Configures Endpoint

0x100E-0x100F

USB EP7 NAK Counter

0x1010-0x1011

USB EP8 Description

Configures Endpoint

0x1012-0x1013

USB EP8 NAK Counter

0x1014-0x1015

USB EP8 Description

Configures Endpoint

0x1016-0x1017

USB EP9 NAK Counter

0x1018-0x1019

USB EP10 Description

Configures Endpoint

0x101A-0x101B

USB EP10 NAK Counter

0x101C-0x101D

USB EP11 Description

Configures Endpoint

0x101E-0x101F

USB EP11 NAK Counter

0x1020-0x1021

USB EP STALL Policy

0x1040-0x1043

USB EP1 Code Download Base Address

Starting address for code download on Endpoint 1

0x1044-0x1047

USB EP2 Code Download Base Address

Starting address for code download on Endpoint 2

0x1048-0x104B

USB EP3 Code Download Base Address

Starting address for code download on Endpoint 3

Table 8-11. USB MCU Register Definitions (Continued)