Function Address Register (Far); Dma Control Register (Dmacntrl) - NS USBN9603 Manual

Universal serial bus full speed node controller with enhanced dma support
Table of Contents

Advertisement

7.0 Register Set
(Continued)
7.2.5

Function Address Register (FAR)

This register sets the device function address. The different endpoint numbers are set for each endpoint individually via the
Endpoint Control registers.
bit 7
AD_EN
0
r/w
AD
Address. This field holds the 7-bit function address used to transmit and receive all tokens addressed to the device.
AD_EN
Address Enable. When set to 1, bits AD6-0 are used in address comparison (see Section 6.2 for a description). When
cleared, the device does not respond to any token on the USB bus.
Note: If the DEF bit in the Endpoint Control 0 register is set, Endpoint 0 responds to the default address.
7.2.6

DMA Control Register (DMACNTRL)

bit 7
DEN
0
r/w
DSRC
DMA Source. The DMA source bit field holds the binary-encoded value that specifies which of the endpoints, 1 to 6, is en-
abled for DMA support. The DSRC bits are cleared on reset. Table 7 summarizes the DSRC bit settings.
DMOD
DMA Mode. This bit specifies when a DMA request is issued. If reset, a DMA request is issued on transfer completion. For
transmit endpoints EP1, EP3 and EP5, the data is completely transferred as indicated by the TX_DONE bit (to fill the FIFO
with new transmit data). For receive endpoints EP2, EP4 and EP6, this is indicated by the RX_LAST bit. When the DMOD
bit is set, a DMA request is issued when the respective FIFO warning bit is set. The DMOD bit is cleared on reset.
www.national.com
bit 6
bit 5
0
0
bit 6
bit 5
bit 4
IGNRXTGL
DTGL
ADMA
0
0
r/w
r/w
Table 7. DSRC Bit Description
DSRC
2
1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
bit 4
bit 3
bit 2
AD6-0
0
0
0
r/w
bit 3
bit 2
DMOD
0
0
0
r/w
r/w
Endpoint No.
0
0
1
1
2
0
3
1
4
0
5
1
6
x
Reserved
38
bit 1
bit 0
0
0
bit 1
bit 0
DSRC2-0
0
r/w

Advertisement

Table of Contents
loading

This manual is also suitable for:

Usbn9604

Table of Contents