Parallel Input/Output Control
MCF51CN128 Reference Manual, Rev. 6
Freescale Semiconductor
9-12
9.5.2.1
KBIx Interrupt Status and Control Register (KBIxSC)
9.5.2.2
KBIx Interrupt Pin Select Register (KBIxPE)
7
6
5
4
3
2
1
0
R
0
0
0
0
KBF
0
KBIE
KBIMOD
W
KBACK
Reset:
0
0
0
0
0
0
0
0
Figure 9-10. KBIx Interrupt Status and Control Register (KBIxSC)
Table 9-15. KBIxSC Field Descriptions
Field
Description
7–4
Reserved, must be cleared.
3
KBF
KBIx Interrupt Flag
— KBF indicates when a KBIx interrupt is detected. Writes have no effect on KBF.
0 No KBIx interrupt detected.
1 KBIx interrupt detected.
2
KBACK
KBIx Interrupt Acknowledge
— Writing a 1 to KBACK is part of the flag clearing mechanism. KBACK always
reads as 0.
1
KBIE
KBIx Interrupt Enable
— KBIE determines whether a KBIx interrupt is requested.
0 KBIx interrupt request not enabled.
1 KBIx interrupt request enabled.
0
KBIMOD
KBIx Detection Mode
— KBIMOD (along with the KBIxES bits) controls the detection mode of the KBIx interrupt
pins.
0 KBIx pins detect edges only.
1 KBIx pins detect edges and levels.
7
6
5
4
3
2
1
0
R
KBIPE7
KBIPE6
KBIPE5
KBIPE4
KBIPE3
KBIPE2
KBIPE1
KBIPE0
W
Reset:
0
0
0
0
0
0
0
0
Figure 9-11. KBIx Interrupt Pin Select Register (KBIxPE)
Table 9-16. KBIxPE Field Descriptions
Field
Description
7–0
KBIPE
n
KBIx Interrupt Pin Selects
— Each of the KBIPE
n
bits enable the corresponding KBIx interrupt pin.
0 Pin not enabled as interrupt.
1 Pin enabled as interrupt.