Datasheet
MC68HC908QY4•MC68HC908QT4•MC68HC908QY2•MC68HC908QT2•MC68HC908QY1•MC68HC908QT1
MOTOROLA Keyboard Interrupt Module (KBI) 177
NON-DISCLOSURE AGREEMENT REQUIRED
Data Sheet — MC68HC908QY4
Section 14. Keyboard Interrupt Module (KBI)
14.1 Contents
14.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177
14.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178
14.4 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179
14.4.1 Keyboard Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . .181
14.4.2 Keyboard Status and Control Register. . . . . . . . . . . . . . . .182
14.4.3 Keyboard Interrupt Enable Register . . . . . . . . . . . . . . . . . .184
14.4.4 Auto Wake-up Interrupt Request . . . . . . . . . . . . . . . . . . . .185
14.5 Wait Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .186
14.6 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .186
14.7 Keyboard Module During Break Interrupts . . . . . . . . . . . . . . .187
14.2 Introduction
The keyboard interrupt module (KBI) provides six independently
maskable external interrupts, which are accessible via the PTA0–PTA5
pins, plus one internal maskable interrupt controlled by the auto wake-up
logic.