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
Содержание 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 ...