Chapter 3 Interrupts
III - 46
External Interrupts
Figure 3-3-7 Port 6 Key Interrupt Control Register (P6IMD : x'03F3E', R/W)
■Port 6 Key Interrupt Control Register (P6IMD)
The port 6 key interrupt control register (P6IMD) selects if key interrupt is approved, and if external interrupt
IRQ4 is approved. Also, this register selects, by 2 bits, which pin on port 6 approved key interrupt.
01243
( At reset : 0
- - -
0 0 0 0 )
P6IMD
P6KYEN2
-
P6KYEN3P6KYEN4
--
P6KYEN1
IRQ4SEL
567
0
1
disable
P61, P60 key interrupt
selection
enable
P6KYEN1
0
1
disable
P63, P62 key interrupt
selection
enable
P6KYEN2
0
1
disable
P65, P64 key interrupt
selection
enable
P6KYEN3
0
1
disable
P67, P66 key interrupt
selection
enable
P6KYEN4
0
1
external interrupt IRQ4
IRQ4 interrupt source selection
P6 key interrupt
IRQ4SEL