Datasheet

MC68HC908QY4MC68HC908QT4MC68HC908QY2MC68HC908QT2MC68HC908QY1MC68HC908QT1
186 Keyboard Interrupt Module (KBI) MOTOROLA
Keyboard Interrupt Module (KBI)
NON-DISCLOSURE AGREEMENT REQUIRED
The overflow count can be selected from two options defined by the
COPRS bit in CONFIG1. This bit was borrowed from the computer
operating properly (COP) using the fact that the COP feature is idle (no
MCU clock available) in stop mode. The typical values of the periodic
wake-up request (5 V, room temperature) are:
COPRS = 0: 512 ms
COPRS = 1: 16 ms
The auto wake-up RC oscillator is highly dependent on operating voltage
and temperature.
The wake-up request is latched to allow the interrupt source
identification. The latched value, AWUL, can be read directly from the
bit 6 position of PTA data register. This is a read-only bit which is
occupying an empty bit position on PTA. No PTA associated registers,
such as PTA6 data, PTA6 direction, and PTA6 pullup exist for this bit.
The latch can be cleared by writing to the ACKK bit in the KBSCR
register. Reset also clears the latch. AWUIE bit in KBI interrupt enable
register (see Figure 14-2) has no effect on AWUL reading.
14.5 Wait Mode
The keyboard module remains active in wait mode. Clearing the
IMASKK bit in the keyboard status and control register enables keyboard
interrupt requests to bring the MCU out of wait mode.
14.6 Stop Mode
The keyboard module remains active in stop mode. Clearing the
IMASKK bit in the keyboard status and control register enables keyboard
interrupt requests to bring the MCU out of stop mode.