Memory Map and Registers
15.5.1 KBI Status and Control Register (KBI_SC)
KBI_SC contains the status flag and control bits, which are used to configure the KBI.
Address: 7Ch base + 0h offset = 7Ch
Bit
7
Read
Write
Reset
0
Field
7–4
This field is reserved.
Reserved
This read-only field is reserved and always has the value 0.
3
KBI Interrupt Flag
KBF
KBF indicates when a KBI interrupt request is detected. Writes have no effect on KBF.
0
KBI interrupt request not detected.
1
KBI interrupt request detected.
2
KBI Acknowledge
KBACK
Writing a 1 to KBACK is part of the flag clearing mechanism.
1
KBI Interrupt Enable
KBIE
KBIE determines whether a KBI interrupt is enabled or not.
0
KBI interrupt not enabled.
1
KBI interrupt enabled.
0
KBI Detection Mode
KBMOD
KBMOD (along with the KBEDG bits) controls the detection mode of the KBI interrupt pins.
0
Keyboard detects edges only.
1
Keyboard detects both edges and levels.
238
6
5
0
0
0
KBI_SC field descriptions
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
4
3
KBF
KBACK
0
0
Description
2
1
KBIE
KBMOD
0
0
NXP Semiconductors
0
0