11.4.1 KBI Status and Control Register (KBIx_SC)
KBI_SC contains the status flag and control bits, which are used to configure the KBI.
Address: 3Ch base + 0h offset = 3Ch
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
KBIx_SC field descriptions
Field
Description
7–4
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
3
KBF
KBI Interrupt Flag
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
KBACK
KBI Acknowledge
Writing a 1 to KBACK is part of the flag clearing mechanism.
1
KBIE
KBI Interrupt Enable
KBIE determines whether a KBI interrupt is enabled or not.
0
KBI interrupt not enabled.
1
KBI interrupt enabled.
0
KBMOD
KBI Detection Mode
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.
11.4.2 KBIx Pin Enable Register (KBIx_PE)
KBIx_PE contains the pin enable control bits.
Address: 3Ch base + 3040h offset = 307Ch
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
Memory Map and Registers
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
228
NXP Semiconductors
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...