r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 195

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
11.5
Figure 11.11
Table 11.7
KI0
KI1
KI2
KI3
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
Pin Name
KI3
KI2
KI1
KI0
Key Input Interrupt
Pull-up
transistor
Pull-up
transistor
Pull-up
transistor
Block Diagram of Key Input Interrupt
Pin Configuration of Key Input Interrupt
Input
Input
Input
Input
I/O
KI0 interrupt input
KI1 interrupt input
KI2 interrupt input
KI3 interrupt input
PU02 bit in PUR0 register
PD1_3 bit in PD1 register
KI3PL = 0
KI3PL = 1
KI2PL = 0
KI2PL = 1
KI1PL = 0
KI1PL = 1
KI0PL = 0
KI0PL = 1
Function
KI3EN bit
KI2EN bit
KI1EN bit
KI0EN bit
PD1_3 bit
PD1_2 bit
PD1_1 bit
PD1_0 bit
KI0EN, KI1EN, KI2EN, KI3EN,
KI0PL, KI1PL, KI2PL, KI3PL: Bits in KIEN register
PD1_0, PD1_1, PD1_2, PD1_3: Bits in PD1 register
Interrupt control circuit
KUPIC register
Page 163 of 740
Key input
interrupt request
11. Interrupts

Related parts for r5f21346mnfp