Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
148
16
LOCK_CH
R/W
0x0
Channel Lock Bit. When the channel is granted control of the master bus
interface and if the CFG
x
.LOCK_CH bit is asserted, then no other channels
are granted control of the master bus interface for the duration specified in
CFG
x
.LOCK_CH_L. Indicates to the master bus interface arbiter that this
channel wants exclusive access to the master bus interface for the duration
specified in CFG
x
.LOCK_CH_L.
This field does not exist if the configuration parameter
DMAH_CH
x
_LOCK_EN is set to False; in this case, the read-back value is
always 0.
15:14
LOCK_B_L
R/W
0x0
Bus Lock Level. Indicates the duration over which CFG
x
.LOCK_B bit applies.
00 = Over complete DMA transfer
01 = Over complete DMA block transfer
1x = Over complete DMA transaction
This field does not exist if the parameter DMAH_CH
x
_LOCK_EN is set to
False; in this case, the read-back value is always 0.
13:12
LOCK_CH_L
R/W
0x0
Channel Lock Level. Indicates the duration over which CFG
x
.LOCK_CH bit
applies.
00 = Over complete DMA transfer
01 = Over complete DMA block transfer
1x = Over complete DMA transaction
This field does not exist if the configuration parameter
DMAH_CH
x
_LOCK_EN is set to False; in this case, the read-back value is
always 0.
11
HS_SEL_SRC
N/A
0x1
Source Software or Hardware Handshaking Select. This register selects
which of the handshaking interfaces – hardware or software – is active for
source requests on this channel.
0 = Hardware handshaking interface. Software-initiated transaction
requests are ignored.
1 = Software handshaking interface. Hardware-initiated transaction
requests are ignored.
If the source peripheral is memory, then this bit is ignored.
10
HS_SEL_DST
R/W
0x1
Destination Software or Hardware Handshaking Select. This register selects
which of the handshaking interfaces – hardware or software – is active for
destination requests on this channel.
0 = Hardware handshaking interface. Software-initiated transaction
requests are ignored.
1 = Software handshaking interface. Hardware- initiated transaction
requests are ignored.
If the destination peripheral is memory, then this bit is ignored.
9
FIFO_EMPTY
R/W
0x1
Indicates if there is data left in the channel FIFO. Can be used in conjunction
with CFG
x
.CH_SUSP to cleanly disable a channel.
1 = Channel FIFO empty
0 = Channel FIFO not empty
8
CH_SUSP
R/W
0x0
Channel Suspend. Suspends all DMA data transfers from the source until
this bit is cleared. There is no guarantee that the current transaction will
complete. Can also be used in conjunction with CFG
x
.FIFO_EMPTY to cleanly
disable a channel without losing any data.
0 = Not suspended.
1 = Suspend DMA transfer from the source.
7:5
CH_PRIOR
R/W
Channel Number.
For example:
Chan0=0
Chan1=1
Channel priority. A priority of 7 is the highest priority, and 0 is the lowest.
This field must be programmed within the following range:
0: (DMAH_NUM_CHANNELS – 1)
A programmed value outside this range will cause erroneous behavior.
4:0
RSVD
N/A
0x0
Reserved
Table 9-18 PROTCTL field to HPROT mapping
1’b1
HPROT[0]
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03