English
Language : 

R8C33A Datasheet, PDF (175/617 Pages) Renesas Technology Corp – MCU M16C FAMILY / R8C/Tiny SERIES
Under development Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/33A Group
11. Interrupts
11.5 Key Input Interrupt
A key input interrupt request is generated by one of the input edges of pins K10 to K13. The key input interrupt can
be used as a key-on wake-up function to exit wait or stop mode.
The KIiEN (i = 0 to 3) bit in the KIEN register is be used to select whether or not the pins are used as the KIi input.
The KIiPL bit in the KIEN register is also be used to select the input polarity.
When inputting “L” to the KIi pin, which sets the KIiPL bit to 0 (falling edge), the input to the other pins K10 to
K13 is not detected as interrupts. When inputting “H” to the KIi pin, which sets the KIiPL bit to 1 (rising edge), the
input to the other pins K10 to K13 is not also detected as interrupts.
Figure 11.11 shows a Block Diagram of Key Input Interrupt. Table 11.7 lists the Pin Configuration of Key Input
Interrupt.
Pull-up
transistor
KI3
Pull-up
transistor
KI2
Pull-up
transistor
KI1
Pull-up
transistor
KI0
PU02 bit in PUR0 register
PD1_3 bit in PD1 register
KI3PL = 0
KI3EN bit
PD1_3 bit
KI3PL = 1
KI2PL = 0
KI2EN bit
PD1_2 bit
KI2PL = 1
KI1PL = 0
KI1EN bit
PD1_1 bit
KI1PL = 1
KI0PL = 0
KI0EN bit
PD1_0 bit
KI0PL = 1
Figure 11.11 Block Diagram of Key Input Interrupt
Table 11.7 Pin Configuration of Key Input Interrupt
Pin Name
KI0
KI1
KI2
KI3
I/O
Input
Input
Input
Input
Function
KI0 interrupt input
KI1 interrupt input
KI2 interrupt input
KI3 interrupt input
KUPIC register
Interrupt control circuit
Key input
interrupt request
KI0EN, KI1EN, KI2EN, KI3EN,
KI0PL, KI1PL, KI2PL, KI3PL: Bits in KIEN register
PD1_0, PD1_1, PD1_2, PD1_3: Bits in PD1 register
REJ09B0455-0010 Rev.0.10 Feb 29, 2008
Page 147 of 586