
MC68HC05SR3
Freescale
5-9
RESETS AND INTERRUPTS
5
The KBIE bit in the Miscellaneous Control Register controls the master enable for the keyboard
interrupts.
KBIE — KeyBoard Interrupt Enable
1 (set)
–
Keyboard interrupts master enabled.
0 (clear) –
Keyboard interrupts master disabled.
KBIC — KeyBoard Interrupt Clear
This is a write-only bit and always read as “0”.
1 (set)
–
Writing a “1” clears the keyboard interrupt latch.
0 (clear) –
Writing a “0” has no effect.
The Keyboard Interrupt Mask Register (KBIMR) masks individual keyboard interrupt pins and
setting of the internal pull-up resistors on port A.
KBEx — PAx Keyboard Interrupt Enable
1 (set)
–
Keyboard interrupt enabled for PAx. A 20K
internal pull-up resistor
is connected. High to low transition on PAx will cause a keyboard
interrupt.
0 (clear) –
Keyboard interrupt for PAx pin is masked. Any transitions on PAx will
not set any flags.
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Miscellaneous Control Register
$0C
KBIE
KBIC
INTO
INTE LVRE
SM
IRQ2F IRQ2E 0001 0000
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
KBIMR
$0B
KBE7 KBE6 KBE5 KBE4 KBE3 KBE2 KBE1 KBE0 0000 0000
TPG
43
05SR3.Book Page 9 Thursday, August 4, 2005 1:08 PM