HD6412373R RENESAS [Renesas Technology Corp], HD6412373R Datasheet - Page 385

no-image

HD6412373R

Manufacturer Part Number
HD6412373R
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
IOAR. The transfer direction can be specified by the DTDIR bit in DMACR. Table 7.7
summarizes register functions in repeat mode.
Table 7.7
Register
MAR specifies the start address of the transfer source or transfer destination as 24 bits. MAR is
incremented or decremented by 1 or 2 each time a byte or word is transferred. IOAR specifies the
lower 16 bits of the other address. The upper 8 bits of IOAR have a value of H'FF. The number of
transfers is specified as 8 bits by ETCRH and ETCRL. The maximum number of transfers, when
H'00 is set in both ETCRH and ETCRL, is 256.
In repeat mode, ETCRL functions as the transfer counter, and ETCRH is used to hold the number
of transfers. ETCRL is decremented by 1 each time a data transfer is executed, and when its value
reaches H'00, it is loaded with the value in ETCRH. At the same time, the value set in MAR is
restored in accordance with the values of the DTSZ and DTID bits in DMACR. The MAR
restoration operation is as shown below.
The same value should be set in ETCRH and ETCRL.
23
23
H'FF
MAR = MAR – (–1)
15
7
7
ETCRH
ETCRL
Register Functions in Repeat Mode
MAR
IOAR
0
0
0
0
DTID
DTDIR = 0 DTDIR = 1 Initial Setting
Source
address
register
Destination
address
register
Holds number of
transfers
Transfer counter
· 2
DTSZ
Function
· ETCRH
Destination
address
register
Source
address
register
Rev.7.00 Mar. 18, 2009 page 317 of 1136
Start address of
transfer destination
or transfer source
Start address of
transfer source or
transfer destination
Number of transfers
Number of transfers
Section 7 DMA Controller (DMAC)
Operation
Incremented/
decremented every
transfer.
Initial setting is
restored when value
reaches H'0000
Fixed
Fixed
Decremented every
transfer.
Loaded with ETCRH
value when count
reaches H'00
REJ09B0109-0700

Related parts for HD6412373R