R8C/1A Group, R8C/1B Group
12. Interrupts
Rev.1.30
Dec 08, 2006
Page 97 of 315
REJ09B0252-0130
Figure 12.18
KIEN Register
Key Input Enable Register
(1)
Symbol
Address
After Reset
KIEN
0098h
00h
Bit Symbol
Bit Name
Function
RW
NOTE :
1.
RW
KI0 input polarity select bit
0 : Falling edge
1 : Rising edge
KI1 input enable bit
0 : Disable
1 : Enable
b3 b2
RW
KI2EN
RW
KI1PL
KI1 input polarity select bit
0 : Falling edge
1 : Rising edge
KI2 input enable bit
0 : Disable
1 : Enable
b7 b6 b5 b4
b1 b0
The IR bit in the KUPIC register may be set to 1 (requests interrupt) w hen the KIEN register is rew ritten.
Refer to
12.5.5 Changing Interrupt Sources.
KI1EN
RW
KI3EN
KI3 input enable bit
KI3PL
RW
KI2PL
KI2 input polarity select bit
0 : Falling edge
1 : Rising edge
KI3 input polarity select bit
0 : Falling edge
1 : Rising edge
KI0EN
RW
KI0PL
RW
KI0 input enable bit
0 : Disable
1 : Enable
RW
0 : Disable
1 : Enable