Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
174
Table 9-19 Programming of transfer types and channel register update method
No.
Transfer Type
LLP.LOC=0
LLP_SRC_
EN (CTL
x
)
RELOAD_SR
C (CRG
x
)
LLP_DST_
EN (CTL
x
)
RELOAD_DS
T (CRG
x
)
CTLx, LLPx
Update
Method
SARx
Update
Method
DARx
Update
Method
Write
Back
3
1
Single-block or last
transfer of multi-
block
Yes
0
0
0
0
None, user
reprograms
None
(Single)
None
(Single)
No
2
Auto-reload multi-
block transfer with
contiguous SAR
Yes
0
0
0
1
CTLx, LLPx are
reloaded from
initial values
Contiguous
Auto-Reload
No
3
Auto-reload multi-
block transfer with
contiguous DAR
Yes
0
1
0
0
CTLx, LLPx are
reloaded from
initial values
Auto-Reload
Contiguous
No
4
Auto-reload multi-
block transfer
Yes
0
1
0
1
CTLx, LLPx are
reloaded from
initial values
Auto-Reload
Auto-Reload
No
5
Single-block or last
transfer of multi-
block
No
0
0
0
0
None, user
reprograms
None
(Single)
None
(Single)
Yes
6
Linked list multi-
block transfer with
contiguous SAR
No
0
0
1
0
CTLx, LLPx
loaded from
next Linked
List item
Contiguous
Linked List
Yes
7
Linked list multi-
block transfer with
auto-reload SAR
No
0
1
1
0
CTLx, LLPx
loaded from
next Linked
List item
Auto-Reload
Linked List
Yes
8
Linked list multi-
block transfer with
contiguous DAR
No
1
0
0
0
CTLx, LLPx
loaded from
next Linked
List item
Linked List
Contiguous
Yes
9
Linked list multi-
block transfer with
auto-reload DAR
No
1
0
0
1
CTLx, LLPx
loaded from
next Linked
List item
Linked List
Auto-Reload
Yes
10
Linked list multi-
block transfer
No
1
0
1
0
CTLx, LLPx
loaded from
next Linked
List item
Linked List
Linked List
Yes
Note
:
Throughout this databook, there are descriptions about fetching the LLI.CTLx register from the location pointed to by the LLPx register.
This exact location is the LLI base address (stored in LLPx register) plus the fixed offset. For example, in Fig 9-47, the location of the
LLI.CTLx register is LLPx.LOC + 0xc.
Referring to Table 9-19, if the Write Back column entry is “Yes” and the configuration parameter DMAH_CHx_CTL_WB_EN = True, then
the CTLx[63:32] register is always written to system memory (to LLI.CTLx[63:32]) at the end of every block transfer. The source status is
fetched and written to system memory at the end of every block transfer if the Write Back column entry is “Yes,”
DMAH_CHx_CTL_WB_EN = True, DMAH_CHx_STAT_SRC = True, and CFGx.SS_UPD_EN is enabled. The destination status is fetched and
written to system memory at the end of every block transfer if the Write Back column entry is “Yes,” DMAH_CHx_CTL_WB_EN = True,
DMAH_CHx_STAT_DST = True, and CFGx.DS_UPD_EN is enabled.
9.4.3.2
Auto-Reloading of Channel Registers
During auto-reloading, the channel registers are reloaded with their initial values at the completion of each block and the new values used for
the new block. Depending on the row number in Table 9-19, some or all of the SAR
x
, DAR
x
, and CTL
x
channel registers are reloaded from their
initial value at the start of a block transfer.
9.4.3.3
Contiguous Address between Blocks
In this case, the address between successive blocks is selected as a continuation from the end of the previous block.
3
This column assumes that the configuration parameter DMAH_CHx_CTL_WB_EN = True. If DMAH_CHx_CTL_WB_EN = False, then there is never writeback of the control
and status registers regardless of transfer type, and all rows of this column are “No”.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03