Direct Memory Access Controller (DMAC)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
149
CFG
x
.PROTCTL[1]
HPROT[1]
CFG
x
.PROTCTL[2] ->
HPROT[2]
CFG
x
.PROTCTL[3] ->
HPROT[3]
9.3.2.2.11
SGRx
Name:
Source Gather
Register for Channel x
Size:
64 bits (upper 32 bits are reserved)
Address offset:
for
x
= 0 to 7:
SGR0 – 0x048
SGR1 – 0x0a0
SGR2 – 0x0f8
SGR3 – 0x150
SGR4 – 0x1a8
SGR5 – 0x200
SGR6 – 0x258
SGR7 – 0x2b0
Read/write access:
read/write
The Source Gather register contains two fields:
Source gather count field (SGR
x
.SGC) – Specifies the number of contiguous source transfers of CTL
x
.SRC_TR_WIDTH between successive
gather intervals. This is defined as a gather boundary.
Source gather interval field (SGR
x
.SGI) – Specifies the source address increment/decrement in multiples of CTL
x
.SRC_TR_WIDTH on a
gather boundary when gather mode is enabled for the source transfer.
Note
: If DMAH_RETURN_ERR_RESP is set to True, the DMAC returns an ERROR response to an illegal register access, which includes accessing
registers that have been removed during DMAC configuration. If DMAH_RETURN_ERR_RESP is set to False, DMAC always returns an OK
response.
The CTL
x
.SINC field controls whether the address increments or decrements. When the CTL
x
.SINC field indicates a fixed-address control, then
the address remains constant throughout the transfer and the SGR
x
register is ignored. This register does not exist if the configuration
parameter DMAH_CH
x
_SRC_GAT_EN is set to False.
Bit
Name
Access
Reset
Description
63:32
RSVD
N/A
0x0
Reserved
b
:20
(See description)
SGC
R/W
0x0
Source gather count. Source contiguous transfer count between
successive gather boundaries.
b
= log
2
(DMAH_CH
x
_MAX_BL 1) + 19
Bit[31:
b
+1] do not exist and read back as 0.
19:0
SGI
R/W
0x0
Source gather interval.
9.3.2.2.12
DSRx
Name:
Destination Scatter
Register for Channel x
Size:
64 bits (upper 32 bits are reserved)
Address offset:
for
x
= 0 to 7:
DSR0 – 0x050
DSR1 – 0x0a8
DSR2 – 0x0100
DSR3 – 0x158
DSR4 – 0x1b0
DSR5 – 0x208
DSR6 – 0x260
DSR7 – 0x2b8
Read/write access:
read/write
The
Destination Scatter
register contains two fields:
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03