III - 39
Chapter 3 Interrupts
External Interrupts
3-3-2 Block Diagram
Figure 3-3-1 External Interrupt 0 Interface and External Interrupt 1 Interface Block Diagram
■External Interrupt 0 Interface, External Interrupt 1 Interface, Block Diagram
3-bit prescaler
1/2 1/2 1/2
S
fosc/2
10
fosc/2
9
fosc/2
8
M
U
X
0
7
NF0EN
NF0SCK0
NF0SCK1
-
NF1EN
NF1SCK0
NFCTR0
fosc/2
7
(Prescaler
output signal)
SS
P21IM
NF1SCK1
fosc
Noise filter 0
P20/IRQ0
M
U
X
Polarity
Inversion
M
U
X
IRQ0 interrupt request
/
16-bit timer
M
U
X
Noise filter 1
P21/IRQ1/ACZ
M
U
X
Polarity
Inversion
M
U
X
IRQ0 interrupt request
/
16-bit timer
AC zero cross detection
circuit
M
U
X
Standby mode signal
Standby mode signal
0
7
IRQ0IR
IRQ0IE
-
-
REDG0
IRQ0ICR
IRQ0LV1
IRQ0LV0
-
0
7
IRQ1IR
IRQ1IE
-
-
REDG1
IRQ1ICR
IRQ1LV1
IRQ1LV0
-
0
7
EDGSEL0
EDGSEL1
EDGSEL2
EDGSEL3
EDGSEL4
Reserved
-
-
EDGDT
0
7
PSCEN
-
-
-
-
PSCMD
-
-
-
Edge detection
M
U
X
M
U
X
Edge detection