11.2 External signals description
The KBI input pins can be used to detect either falling edges, or both falling edge and
low-level interrupt requests. The KBI input pins can also be used to detect either rising
edges, or both rising edge and high-level interrupt requests.
The signal properties of KBI are shown in the following table:
Table 11-1. External signals description
Signal
Function
I/O
KBIxPn
Keyboard interrupt pins
I
11.3 Register definition
The KBI includes following registers:
• A pin status and control register, KBIx_SC
• A pin enable register, KBIx_PE
• An edge select register, KBIx_ES
See the direct-page register summary in the Memory chapter for the absolute address
assignments for all KBI registers. This section refers to registers and control bits only by
their names.
Some MCUs may have more than one KBI, so register names include placeholder
characters to identify which KBI is being referenced.
Memory Map and Registers
KBI memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
3C
KBI Status and Control Register (KBI0_SC)
8
R/W
00h
307C
KBIx Pin Enable Register (KBI0_PE)
8
R/W
00h
307D
KBIx Edge Select Register (KBI0_ES)
8
R/W
00h
11.4
Chapter 11 Keyboard Interrupts (KBI)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
227
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...