mc68hc908qb4 Freescale Semiconductor, Inc, mc68hc908qb4 Datasheet - Page 54

no-image

mc68hc908qb4

Manufacturer Part Number
mc68hc908qb4
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Auto Wakeup Module (AWU)
4.6.2 Keyboard Status and Control Register
The keyboard status and control register (KBSCR):
Bits 7–4 — Not used
KEYF — Keyboard Flag Bit
ACKK — Keyboard Acknowledge Bit
IMASKK— Keyboard Interrupt Mask Bit
4.6.3 Keyboard Interrupt Enable Register
The keyboard interrupt enable register (KBIER) enables or disables the auto wakeup to operate as a
keyboard/auto wakeup interrupt input.
54
These read-only bits always read as 0s.
This read-only bit is set when a keyboard interrupt is pending on port A or auto wakeup. Reset clears
the KEYF bit.
Writing a 1 to this write-only bit clears the keyboard/auto wakeup interrupt request on port A and auto
wakeup logic. ACKK always reads as 0. Reset clears ACKK.
Writing a 1 to this read/write bit prevents the output of the keyboard interrupt mask from generating
interrupt requests on port A or auto wakeup. Reset clears the IMASKK bit.
1 = Keyboard/auto wakeup interrupt pending
0 = No keyboard/auto wakeup interrupt pending
1 = Keyboard/auto wakeup interrupt requests masked
0 = Keyboard/auto wakeup interrupt requests not masked
Flags keyboard/auto wakeup interrupt requests
Acknowledges keyboard/auto wakeup interrupt requests
Masks keyboard/auto wakeup interrupt requests
Reset:
Reset:
Read:
Write:
Read:
Write:
MODEK is not used in conjuction with the auto wakeup feature. To see a
description of this bit, see
(KBSCR).
Figure 4-3. Keyboard Status and Control Register (KBSCR)
Bit 7
Bit 7
Figure 4-4. Keyboard Interrupt Enable Register (KBIER)
0
0
0
0
= Unimplemented
= Unimplemented
AWUIE
6
0
0
6
0
MC68HC908QB8 Data Sheet, Rev. 2
KBIE5
9.8.1 Keyboard Status and Control Register
5
0
0
5
0
KBIE4
NOTE
0
0
4
0
4
KBIE3
KEYF
3
0
3
0
KBIE2
ACKK
2
0
0
2
0
IMASKK
KBIE1
1
0
1
0
Freescale Semiconductor
MODEK
KBIE0
Bit 0
Bit 0
0
0

Related parts for mc68hc908qb4