h8s-2110b Renesas Electronics Corporation., h8s-2110b Datasheet - Page 125

no-image

h8s-2110b

Manufacturer Part Number
h8s-2110b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
5.8
5.8.1
When an interrupt enable bit is cleared to 0 to disable interrupt requests, the disabling becomes
effective after execution of the instruction. When an interrupt enable bit is cleared to 0 by an
instruction such as BCLR or MOV, and if an interrupt is generated during execution of the
instruction, the interrupt concerned will still be enabled on completion of the instruction, so
interrupt exception handling for that interrupt will be executed on completion of the instruction.
However, if there is an interrupt request of higher priority than that interrupt, interrupt exception
handling will be executed for the higher-priority interrupt, and the lower-priority interrupt will be
ignored. The same rule is also applied when an interrupt source flag is cleared to 0. Figure 5.10
shows an example in which the CMIEA bit in the TMR's TCR register is cleared to 0.
The above conflict will not occur if an enable bit or interrupt source flag is cleared to 0 while the
interrupt is masked.
Internal
address bus
Internal
write signal
CMIEA
CMFA
CMIA
interrupt signal
Conflict between Interrupt Generation and Disabling
Usage Notes
φ
Figure 5.10 Conflict between Interrupt Generation and Disabling
TCR write cycle
TCR address
by CPU
Rev. 2.00 Mar 21, 2006 page 87 of 518
CMIA exception handling
Section 5 Interrupt Controller
REJ09B0299-0200

Related parts for h8s-2110b