Chapter 3 Interrupts

External Interrupt 4 Control Register (IRQ4ICR)

The external interrupt 4 control register (IRQ4ICR) controls interrupt level of external interrupt 4, active edge, interrupt enable flag and interrupt request. Interrupt control register should be operated when the maskable interrupt enable flag (MIE) of PSW is "0".

IRQ4ICR

7

6

5

4

3

2

1

0

IRQ4

IRQ4

REDG4

-

-

-

IRQ4IE

IRQ4IR

LV1

LV0

 

 

 

 

 

 

(At reset : 0 0 0 - - - 0 0)

IRQ4IR

External interrupt request flag

 

 

0No interrupt request

1Interrupt request generated

IRQ4IE

External interrupt enable flag

 

 

0Disable interrupt

1Enable interrupt

REDG4

External interrupt active edge flag

 

 

0Falling edge

1Rising edge

IRQ4

IRQ4

Interrupt level flag for external interrupt

LV1

LV0

 

 

 

 

The CPU has interrupt levels from 0 to 3. These flags set the interrupt level for interrupt requests.

Figure 3-2-6 External Interrupt 4 Control Register (IRQ4ICR : x'03FE6', R/W)

Control Registers

III - 21

Page 115
Image 115
Panasonic F77G, MN101C77C user manual External Interrupt 4 Control Register IRQ4ICR x03FE6, R/W, IRQ4ICR REDG4 IRQ4IE IRQ4IR