h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 212

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
the repeat area function is used, the operation that restores the address register value to the buffer
start address is performed automatically within the DMAC.
The repeat area function can be set independently for the source address register and the
destination address register. The source address repeat area is specified by bits SARA4 to SARA0
in DMACR, and the destination address repeat area by bits DARA4 to DARA0 in DMACR. The
size of each repeat area can be specified independently.
When the address register value is the last address in the repeat area and repeat area overflow
occurs, DMA transfer can be temporarily halted and an interrupt request sent to the CPU. If the
SARIE bit in DMACR is set to 1, when the source address register overflows the repeat area, the
IRF bit is set to 1 and the DA bit cleared to 0 in DMMDR, and transfer is terminated. If DIE = 1 in
DMMDR, an interrupt is requested. If the DARIE bit in DMACR is set to 1, the above applies to
the destination address register.
If the DA bit in DMMDR is set to 1 during interrupt generation, transfer is resumed. Figure 7.9
illustrates the operation of the repeat area function.
Rev. 2.00, 03/04, page 180 of 534
When lower 3 bits (8-byte area) of DMSAR are designated as repeat area
(SARA4 to SARA0 = 3)
Figure 7.9 Example of Repeat Area Function Operation
External memory
H'23FFFE
H'23FFFF
H'240000
H'240001
H'240002
H'240003
H'240004
H'240005
H'240006
H'240007
H'240008
H'240009
:
:
DMSAR values
H'240000
H'240001
H'240002
H'240003
H'240004
H'240005
H'240006
H'240007
Range of
Repeated
Repeat area overflow
interrupt can be
requested

Related parts for h8s-2172