Ameba-D User Manual
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
136
Reg Exist:
Dependent on setting of
DMAH_ADD_ENCODED_PARAMS configuration parameter.
The register exists when this parameter is set to True.
DMA_COMP_P
ARAMS_2
0x3e8
R
Depends on user
configuration
Refer to the bit table in the description for
DMA_COMP_PARAMS_2.
Reg Exist:
Dependent on setting of
DMAH_ADD_ENCODED_PARAMS configuration parameter.
The register exists when this parameter is set to True.
DMA_COMP_P
ARAMS_1
0x3f0
R
Depends on user
configuration
Refer to the bit table in the description for
DMA_COMP_PARAMS_1
Reg Exist:
Dependent on setting of
DMAH_ADD_ENCODED_PARAMS configuration parameter.
The register exists when this parameter is set to True.
DMA
Component ID
Register
0x3f8
R
See description
Component version register. Please refer to the bit table in
the description for DMA Component ID Register.
Reg Exist:
Yes
9.3.2
Registers and Field Descriptions
The following sections contain the memory diagrams and field descriptions for the individual registers.
9.3.2.1
Configuration and Channel Enable Registers
The channel registers consist of the following, where x = 0 to 7:
DmaCfgReg – Configuration Register
ChEnReg – Channel Enable Register
9.3.2.1.1
DmaCfgReg
Name:
DMA Configuration Register
Size:
64 bits
Address offset:
0x398
Read/write access:
read/write
This register is used to enable the DMAC, which must be done before any channel activity can begin.
Bit
Name
Access
Reset
Description
63:1
RSVD
N/A
0x0
Reserved
0
DMA_EN
R/W
0x0
DMAC Enable bit.
0 = DMAC Disabled
1 = DMAC Enabled
If the global channel enable bit is cleared while any channel is still active, then DmaCfgReg.DMA_EN still returns 1 to indicate that there are
channels still active until hardware has terminated all activity on all channels, at which point the DmaCfgReg.DMA_EN bit returns 0.
9.3.2.1.2
ChEnReg
Name:
DMA Channel Enable Register
Size:
64 bits
Address offset:
0x3a0
Read/write access:
read/write
This is the DMAC Channel Enable Register. If software needs to set up a new channel, then it can read this register in order to find out which
channels are currently inactive; it can then enable an inactive channel with the required priority.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03