UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
240 of 362
NXP Semiconductors
UM10208
Chapter 17: LPC2800 USB Device
Changing any field in this register other than CHEN, while the USB DMA channel is
enabled, will stop the channel and set its status (error) field to Update Error.
Table 269. USB DMA Channel Control Registers (UDMA0Ctrl - 0x8004 0004 and UDMA1Ctrl -
0x8004 0044)
Bit
Symbol
Description
Reset
value
1:0
CHEN
00: the USB DMA channel is disabled
01: the USB DMA channel is enabled with Low priority
10: the USB DMA channel is enabled with Medium priority
11: the USB DMA channel is enabled with High priority
00
2
must be 0
0
4:3
SOURCE
00: use for IN (TX) transfers
01 use for OUT (RX) transfers:
1x: reserved, do not write
00
6:5
STYPE
must be 10 to select 32-bit transfers
10
8:7
SA_ADJ
00: fixed source address: use for OUT (RX) transfers
01: source address increment: use for IN (TX) transfers
1x: reserved, do not write
01
10:9
SFC_MODE 00: no source flow control: use for IN (TX) transfers
01: source flow control: use for OUT (RX) transfers
1x: reserved, do not write
00
14:11 SFC_PORT
0000: OUT endpoint 1
0001: IN endpoint 1
0010: OUT endpoint 2
0011: IN endpoint 2
0100-1111: reserved, do not write
0
16:15 DEST
00: use for OUT (RX) transfers
01 use for IN (TX) transfers:
1x: reserved, do not write
0
18:17 DTYPE
must be 10 to select 32-bit transfers
10
20:19 DA_ADJ
00: fixed destination address: use for IN (TX) transfers
01: destination address increment: use for OUT (RX) transfers
1x: reserved, do not write
01
22:21 DFC_MODE 00: no destination flow control: use for OUT (RX) transfers
01: destination flow control: use for IN (TX) transfers
1x: reserved, do not write
00
26:23 DFC_PORT
0000: OUT endpoint 1
0001: IN endpoint 1
0010: OUT endpoint 2
0011: IN endpoint 2
0100-1111: reserved, do not write
0
29:27 -
Reserved, software should not write ones to reserved bits. The
values read from reserved bits is not defined.
-
30
IEOT_En
If this bit is 1, this channel’s IEOT bit in the USB Interrupt Status
register will be set when the transfer completes successfully. A 0
selects no change to the IEOT bit.
0
31
IError_En
If this bit is 1, this channel’s IError bit in the USB Interrupt Status
register will be set when the transfer is aborted because of an error.
A 0 selects no change to the IError bit.
0