DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
174 of 571
NXP Semiconductors
UM10316
Chapter 13: LPC29xx USB device
9.6.1 USB Command Code register (USBCmdCode - 0xE010 C210)
This register is used for sending the command and write data to the SIE. The commands
written here are propagated to the SIE and executed there. After executing the command,
the register is empty, and the CCEMPTY bit of USBDevIntSt register is set. See
for details. USBCmdCode is a write only register.
9.6.2 USB Command Data register (USBCmdData - 0xE010 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
for details. USBCmdData is a read only register.
9.7 DMA registers
The registers in this group are used for the DMA mode of operation (see
9.7.1 USB DMA Request Status register (USBDMARSt - 0xE010 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 149. USB Command Code register (USBCmdCode - address 0xE010 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 150. USB Command Data register (USBCmdData - address 0xE010 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