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

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
Interrupt sources can be enabled or disabled by means of the DIE bit in DMMDR for the relevant
channel, and can be sent to the interrupt controller independently.
The relative priority of the channels is determined by the interrupt controller (see table 7.4). Figure
7.46 shows the transfer end interrupt logic. A transfer end interrupt is generated whenever the DIE
bit is set to 1 while the IRF bit is set to 1 in DMMDR.
Interrupt source settings are made individually with the interrupt enable bits in the registers for the
relevant channels. The transfer counter's transfer end interrupt is enabled or disabled by means of
the TCEIE bit in DMMDR, the source address register repeat area overflow interrupt by means of
the SARIE bit in DMACR, and the destination address register repeat area overflow interrupt by
means of the DARIE bit in DMACR. When an interrupt source occurs while the corresponding
interrupt enable bit is set to 1, the IRF bit in DMMDR is set to 1. The IRF bit is set by all interrupt
sources indiscriminately.
The transfer end interrupt can be cleared either by clearing the IRF bit to 0 in DMMDR within the
interrupt handling routine, or by re-setting the transfer counter and address registers and then
setting the DA bit to 1 in DMMDR to perform transfer continuation processing.
An example of the procedure for clearing the transfer end interrupt and restarting transfer is shown
in figure 7.47.
Rev. 2.00, 03/04, page 214 of 534
IRF bit
DIE bit
Figure 7.46 Transfer End Interrupt Logic
Transfer end interrupt

Related parts for h8s-2172