
UM10375
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 3 — 14 June 2011
149 of 368
NXP Semiconductors
UM10375
Chapter 10: LPC13xx USB device controller
10.10.2 SIE command code registers
The SIE command code registers are used for communicating with the Serial Interface
Engine. See
Section 10.11 “Serial interface engine command description”
for more
information.
10.10.2.1 USB Command Code register (USBCmdCode - 0x4001 8010)
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.
12
RXENDPKT_SET
The current packet in the endpoint buffer is transferred to
the CPU.
0 = no effect.
1 = the corresponding bit in USBDevIntSt is set.
0
13
TXENDPKT_SET
The number of data bytes transferred to the endpoint buffer
equals the number of bytes programmed in the TxPacket
length register (USBTxPLen).
0 = no effect.
1 = the corresponding bit in USBDevIntSt is set.
0
31:14 -
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
-
Table 166. USB Device Interrupt Set register (USBDevIntSet - address 0x4002 000C) bit
description
Bit
Symbol
Description
Reset
value
Table 167. USB Command Code register (USBCmdCode - address 0x4002 0010) 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.
-
15:8
CMD_PHASE
Command phase action
0x00
0x01
Write
0x02
Read
0x05
Command
23:16
CODE_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.
-