English
Language : 

HD6413002 Datasheet, PDF (229/700 Pages) Renesas Technology Corp – High-performance single-chip microcontroller
If M (1 to 255) is the size of the block transferred at each request and N (1 to 65,536) is the
number of blocks to be transferred, then ETCRAH and ETCRAL should initially be set to M and
ETCRB should initially be set to N.
Figure 8-10 illustrates how block transfer mode operates. In this figure, bit TMS is cleared to 0,
meaning the block area is the destination.
TA
Block 1
BA
Transfer
Block area
Address T B
Address B B
Block 2
M bytes or words are
transferred per request
Block N
Legend
L A = initial setting of MARA
L B = initial setting of MARB
M = initial setting of ETCRAH and ETCRAL
N = initial setting of ETCRB
TA = LA
B A = L A + SAIDE • (–1)SAID • (2 DTSZ • M – 1)
TB
BB
=
=
LB
LB
+
DAIDE
•
(–1) DAID
• (2 DTSZ
• M – 1)
Figure 8-10 Operation in Block Transfer Mode
215