93 / 129 page

External Interrupts
88
PRELIMINARY V1.8
When an interrupt is generated, the interrupt request flag that generated it should be
cleared by software when the service routine is vectored. All of the interrupt request
flags can be set or cleared by software, with the same result as though it had been set or
cleared by hardware. That is, interrupt can be generated or pending interrupts can be
canceled in software. Each of these interrupt sources can be individually enabled or
disabled by setting or clearing a bit in Special Function Registers ISE0 to ISE2. And,
each of interrupt group can be enabled or disabled by setting or clearing a bit in Special
Function Register IE. The bit EA in IE contains also a global disable bit (0: disable, 1:
Enable), which disables all interrupts at once.
Figure 29.
Block Diagram of Interrupt Group-A
IRQ1F
EIRQ1F
Pin IRQ1
AND
IRQ2F
EIRQ2F
Pin IRQ2
AND
OR
GA
Event
Event
(Interrupt Group-A)