III - 49
Chapter 3 Interrupts
External Interrupts
3-3-6 Key Input Interrupt
■Key Input Interrupt (External interrupt 4)
This LSI can set port 6 pin (P60 to P67) by 2 bits to key input pin. Key input interrupt can generate an
interrupt at the falling edge, if at least 1 key input pin outputs low level.
Key input pin should be pull-up in advance.
When key input interrupt is used, set the IRQ4SEL flag of the port6 key interrupt control
register (P6IMD) to "1".
When key input interrupt is used, set the REDG4 flag of the external interrupt 4 control
register (IRQ4ICR) to "0" (falling edge).