|
4507_M Datasheet, PDF (131/216 Pages) Renesas Technology Corp – 4-BIT CISC SINGLE-CHIP MICROCOMPUTER 4500 SERIES | |||
|
◁ |
4507 Group
APPLICATION
2.2 Interrupts
(5) Interrupt control register I1
The INT pin timer 1 control enable bit is assigned to bit 0, INT pin edge detection circuit control bit
is assigned to bit 1, interrupt valid waveform for INT pin/return level selection bit is assigned to bit
2 and INT pin input control bit is assigned to bit 3.
Set the contents of this register through register A with the TI1A instruction.
In addition, the TAI1 instruction can be used to transfer the contents of register I1 to register A.
Table 2.2.3 shows the interrupt control register I1.
Table 2.2.3 Interrupt control register I1
Interrupt control register I1
at reset : 00002 at RAM back-up : state retained R/W
0 INT pin input disabled
I13 INT pin input control bit (Note 2)
1 INT pin input enabled
Falling waveform (âLâ level of INT pin is recognized with
Interrupt valid waveform for INT 0
the SNZI0 instruction)/âLâ level
I12 pin/return level selection bit
Rising waveform (âHâ level of INT pin is recognized with
(Note 2)
1
the SNZI0 instruction)/âHâ level
INT pin edge detection circuit 0 One-sided edge detected
I11
control bit
1 Both edges detected
INT pin
I10
timer 1 control enable bit
0 Disabled
1 Enabled
Notes 1: âRâ represents read enabled, and âWâ represents write enabled.
2: When the contents of I12 and I13 are changed, the external interrupt request flag EXF0 may be
set. Accordingly, clear EXF0 flag with the SNZ0 instruction when the bit 0 (V10) of register V1 to
â0â. In this time, set the NOP instruction after the SNZ0 instruction, for the case when a skip is
performed with the SNZ0 instruction.
Rev.2.01 Feb 04, 2005
REJ09B0195-0201
2-16
|
▷ |