Direct Memory Access Controller (DMAC)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
151
The contents of each of the five Status registers is ORed to produce a single bit for each interrupt type in the Combined Status register; that is,
StatusInt.
Note
: For interrupts to propagate past the raw* interrupt register stage, CTLx.INT_EN must be set to 1'b1, and the relevant interrupt must be
unmasked in the mask* interrupt register.
9.3.2.3.1
RawBlock, RawDstTran, RawErr, RawSrcTran, RawTfr
Name:
Interrupt Raw Status Registers
Size:
64 bits
Address offset:
RawTfr – 0x2c0
RawBlock – 0x2c8
RawSrcTran – 0x2d0
RawDstTran – 0x2d8
RawErr – 0x2e0
Read/write access:
read/write
Interrupt events are stored in these Raw Interrupt Status registers before masking: RawBlock, RawDstTran, RawErr, RawSrcTran, and RawTfr.
Each Raw Interrupt Status register has a bit allocated per channel; for example, RawTfr[2] is the Channel 2 raw transfer complete interrupt.
Each bit in these registers is cleared by writing a 1 to the corresponding location in the ClearTfr, ClearBlock, ClearSrcTran, ClearDstTran,
ClearErr registers.
Note
: Write access is available to these registers for software testing purposes only. Under normal operation, writes to these registers are not
recommended.
Bit
Name
Access
Reset
Description
63:DMAH_NUM_CHANNELS
RSVD
N/A
0x0
Reserved
DMAH_NUM_CHANNELS-1:0
RAW
R/W
0x0
Raw interrupt status.
9.3.2.3.2
StatusBlock, StatusDstTran, StatusErr, StatusSrcTran, StatusTfr
Name:
Interrupt Status Registers
Size:
64 bits
Address offset:
StatusTfr – 0x2e8
StatusBlock – 0x2f0
StatusSrcTran – 0x2f8
StatusDstTran – 0x300
StatusErr – 0x308
Read/write access:
read
All interrupt events from all channels are stored in these Interrupt Status registers after masking: StatusBlock, StatusDstTran, StatusErr,
StatusSrcTran, and StatusTfr. Each Interrupt Status register has a bit allocated per channel; for example, StatusTfr[2] is the Channel 2 status
transfer complete interrupt. The contents of these registers are used to generate the interrupt signals (int or int_n bus, depending on interrupt
polarity) leaving the DMAC.
Bit
Name
Access
Reset
Description
63:DMAH_NUM_CHANNELS
RSVD
N/A
0x0
Reserved
DMAH_NUM_CHANNELS-1:0
STATUS
R
0x0
Interrupt status.
9.3.2.3.3
MaskBlock, MaskDstTran, MaskErr, MaskSrcTran, MaskTfr
Name:
Interrupt Mask Registers
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03