English
Language : 

HD404669 Datasheet, PDF (27/142 Pages) Hitachi Semiconductor – Low-Voltage AS Microcomputers with On-Chip DTMF Generation Circuit
HD404669 Series
Interrupt Enable Flag (IE: $000, Bit 0): Controls the entire interrupt process. It is reset by the interrupt
processing and set by the RTNI instruction, as listed in table 4.
Table 4 Interrupt Enable Flag (IE: $000, Bit 0)
Interrupt
IE
Enabled/Disabled
0
Disabled
1
Enabled
External Interrupt Request Flags (IF0–IF4: $000, $001, $022, $023): IF0 and IF1 are set at the falling
edge of signals input to INT0 and INT1, and IF2–IF4 are set at the rising or falling edge of signals input to
INT2–INT4, as listed in table 5. The INT2–INT4 interrupt edges are selected by the detection edge select
registers (ESR1, ESR2: $026, $027) as shown in figures 12 and 13.
Detection edge selection register 1 (ESR1: $026)
Bit
Initial value
Read/Write
Bit name
3
0
W
ESR13
2
0
W
ESR12
1
0
W
ESR11
0
0
W
ESR10
ESR13
0
1
ESR12
0
1
0
1
INT3 detection edge
No detection
Falling-edge detection
Rising-edge detection
Falling/Rising-edge detection
ESR11 ESR10
0
0
1
1
0
1
INT2 detection edge
No detection
Falling-edge detection
Rising-edge detection
Falling/Rising-edge detection
Figure 12 Detection Edge Selection Register 1 (ESR1)
27