The DSP has general-purpose and dedicated registers in each of its functional blocks, страница 29

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

RD

RD

RD

RD

RD

RD

RD

RD

RD

RD

RD

RD

RD

RD

RD

RD

Figure B-4. DSP Memory Buffer RD Pointer Offset Register

The offset from the base address for the read pointer of the memory buffer assigned to this Endpoint.

Table B-36. DSP Memory Buffer RD Pointer Offset Register

RD[15:0]

Memory Buffer RD Offset

DSP Mem ory Buffe r WR Pointe r O ffset Re g iste r

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

WR

WR

WR

WR

WR

WR

WR

WR

WR

WR

WR

WR

WR

WR

WR

WR

Figure B-5. DSP Memory Buffer WR Pointer Offset Register

The offset from the base address for the write pointer of the memory buffer assigned to this Endpoint.

Table B-37. DSP Memory Buffer WR Pointer Offset Register

WR[15:0]

Memory Buffer WR Offset

MC U Re g iste r De finitions

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

0x0XXX      Defines general purpose USB status and control registers

0x1XXX       Defines registers that are specific to Endpoint setup and control

0x2XXX      Defines the registers used for REGIO accesses to the DSP register space

0x3XXX      Defines the MCU program memory write address space

Table B-38. 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

Table B-38. USB MCU Register Definitions (Continued)

Address

Name

Comment

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

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

Table B-38. USB MCU Register Definitions (Continued)