Datasheet
Chapter 10 Keyboard Interrupt (S08KBIV2)
MC9S08QD4 Series MCU Data Sheet, Rev. 6
136 Freescale Semiconductor
Figure 10-1. MC9S08QD4 Series Block Diagram Highlighting KBI Block and Pins
NOTES:
1
Port pins are software configurable with pullup device if input port.
2
Port pins are software configurable for output drive strength.
3
Port pins are software configurable for output slew rate control.
4
IRQ contains a software configurable (IRQPDD) pullup/pulldown device if PTA5 enabled as IRQ pin function (IRQPE = 1).
5
RESET contains integrated pullup device if PTA5 enabled as reset pin function (RSTPE = 1).
6
PTA5 does not contain a clamp diode to V
DD
and must not be driven above V
DD
. The voltage measured on this pin when
internal pullup is enabled may be as low as V
DD
– 0.7 V. The internal gates connected to this pin are pulled to V
DD
.
7
PTA4 contains integrated pullup device if BKGD enabled (BKGDPE = 1).
8
When pin functions as KBI (KBIPEn = 1) and associated pin is configured to enable the pullup device, KBEDGn can be used
to reconfigure the pullup as a pulldown device.
USER RAM
HCS08 CORE
CPU
BDC
2-CH 16-BIT TIMER/PWM
MODULE (TPM1)
HCS08 SYSTEM CONTROL
RESETS AND INTERRUPTS
MODES OF OPERATION
POWER MANAGEMENT
RTI COP
IRQ LVD
VOLTAGE REGULATOR
PORT A
PTA5/TPM2CH0I/IRQ/RESET
PTA4/TPM2CH0O/BKGD/MS
PTA3/KBI1P3/TCLK2/ADC1P3
PTA2/KBI1P2/TCLK1/ADC1P2
PTA1/KBI1P1/TPM1CH1/ADC1P1
PTA0/KBI1P0/TPM1CH0/ADC1P0
4-BIT KEYBOARD
INTERRUPT MODULE (KBI)
256 / 128 BYTES
16 MHz INTERNAL CLOCK
SOURCE (ICS)
V
SS
V
DD
V
SSA
V
DDA
V
REFL
V
REFH
4
ANALOG-TO-DIGITAL
CONVERTER (ADC)
10-BIT
TPM1CH0
TPM1CH1
BKGD/MS
IRQ
4
1-CH 16-BIT TIMER/PWM
MODULE (TPM2)
TPM2CH0
USER FLASH
4096 / 2048 BYTES
TCLK2
TCLK1