DEMO9S08LIN Freescale, DEMO9S08LIN Datasheet - Page 99

no-image

DEMO9S08LIN

Manufacturer Part Number
DEMO9S08LIN
Description
Manufacturer
Freescale
Datasheet

Specifications of DEMO9S08LIN

Lead Free Status / RoHS Status
Compliant
7.3
The KBI includes three registers:
Refer to the direct-page register summary in the
all KBI registers. This section refers to registers and control bits only by their names and relative address
offsets.
Some MCUs may have more than one KBI, so register names include placeholder characters to identify
which KBI is being referenced.
7.3.1
KBIxSC contains the status flag and control bits, which are used to configure the KBI.
7.3.2
KBIxPE contains the pin enable control bits.
Freescale Semiconductor
KBMOD
KBACK
Field
KBIE
KBF
7:4
3
2
1
0
An 8-bit pin status and control register.
An 8-bit pin enable register.
An 8-bit edge select register.
Reset:
Register Definition
Unused register bits, always read 0.
Keyboard Interrupt Flag — KBF indicates when a keyboard interrupt is detected. Writes have no effect on KBF.
0 No keyboard interrupt detected.
1 Keyboard interrupt detected.
Keyboard Acknowledge — Writing a 1 to KBACK is part of the flag clearing mechanism. KBACK always reads
as 0.
Keyboard Interrupt Enable — KBIE determines whether a keyboard interrupt is requested.
0 Keyboard interrupt request not enabled.
1 Keyboard interrupt request enabled.
Keyboard Detection Mode — KBMOD (along with the KBEDG bits) controls the detection mode of the keyboard
interrupt pins.0Keyboard detects edges only.
1 Keyboard detects both edges and levels.
KBIx Status and Control Register (KBIxSC)
W
KBIx Pin Enable Register (KBIxPE)
R
0
0
7
= Unimplemented
MC9S08LC60 Series Data Sheet: Technical Data, Rev. 4
0
0
6
Table 7-2. KBIxSC Register Field Descriptions
Figure 7-3. KBIx Status and Control Register
5
0
0
Memory
0
0
4
Description
chapter for the absolute address assignments for
KBF
0
3
KBACK
Chapter 7 Keyboard Interrupt (S08KBIV2)
0
0
2
KBIE
0
1
KBMOD
0
0
99