|
H8S-2633 Datasheet, PDF (366/1487 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcomputer | |||
|
◁ |
Section 8 DMA Controller (DMAC) (This function is not available in the H8S/2695)
Incrementing, decrementing, or holding a fixed value can be set separately for MARA and
MARB.
Whether a block is to be designated for MARA or for MARB is specified by the BLKDIR bit in
DMACRA.
To specify the number of transfers, if M is the size of one block (where M = 1 to 256) and N
transfers are to be performed (where N = 1 to 65,536), M is set in both ETCRAH and ETCRAL,
and N in ETCRB.
Figure 8.13 illustrates operation in block transfer mode when MARB is designated as a block area.
Address TA
1st block
2nd block
Transfer
Consecutive transfer
of M bytes or words
is performed in
response to one
request
Block area
Address TB
Address BB
Address BA
Nth block
Legend:
Address TA = LA
Address TB = LB
Address BA = LA + SAIDE · (â1)SAID · (2DTSZ · (M·Nâ1))
Address BB = LB + DAIDE · (â1)DAID · (2DTSZ · (Nâ1))
Where: LA = Value set in MARA
LB = Value set in MARB
N = Value set in ETCRB
M = Value set in ETCRAH and ETCRAL
Figure 8.13 Operation in Block Transfer Mode (BLKDIR = 0)
Rev. 5.00 Mar 28, 2005 page 304 of 1422
REJ09B0234-0500
|
▷ |