8 dma registers, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual

Page 353

Advertising
background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

353 of 792

NXP Semiconductors

UM10237

Chapter 13: LPC24XX USB device controller

9.7.2 USB Command Data register (USBCmdData - 0xFFE0 C214)

This register contains the data retrieved after executing a SIE command. When the data is
ready to be read, the CD_FULL bit of the USBDevIntSt register is set. See

Table 13–298

for details. USBCmdData is a read only register.

9.8 DMA registers

The registers in this group are used for the DMA mode of operation (see

Section 13–14

“DMA operation”

)

9.8.1 USB DMA Request Status register (USBDMARSt - 0xFFE0 C250)

A bit in this register associated with a non-isochronous endpoint is set by hardware when
an endpoint interrupt occurs (see the description of USBEpIntSt) and the corresponding
bit in USBEpIntEn is 0. A bit associated with an isochronous endpoint is set when the
corresponding bit in USBEpIntEn is 0 and a FRAME interrupt occurs. A set bit serves as
a flag for the DMA engine to start the data transfer if the DMA is enabled for the
corresponding endpoint in the USBEpDMASt register. The DMA cannot be enabled for
control endpoints (EP0 and EP1). USBDMARSt is a read only register.

Table 326. USB Command Code register (USBCmdCode - address 0xFFE0 C210) bit description

Bit

Symbol

Value

Description

Reset value

7:0

-

-

Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.

NA

15:8

CMD_PHASE

The command phase:

0x00

0x01

Read

0x02

Write

0x05

Command

23:16

CMD_CODE/
CMD_WDATA

This is a multi-purpose field. When CMD_PHASE is
Command or Read, this field contains the code for the
command (CMD_CODE). When CMD_PHASE is Write,
this field contains the command write data (CMD_WDATA).

0x00

31:24

-

-

Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.

NA

Table 327. USB Command Data register (USBCmdData - address 0xFFE0 C214) bit

description

Bit

Symbol

Description

Reset value

7:0

CMD_RDATA

Command Read Data.

0x00

31:8

-

Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.

NA

Table 328. USB DMA Request Status register (USBDMARSt - address 0xFFE0 C250) bit allocation

Reset value: 0x0000 0000

Bit

31

30

29

28

27

26

25

24

Symbol

EP31

EP30

EP29

EP28

EP27

EP26

EP25

EP24

Bit

23

22

21

20

19

18

17

16

Symbol

EP23

EP22

EP21

EP20

EP19

EP18

EP17

EP16

Advertising