s908qy2ad1vdwer Freescale Semiconductor, Inc, s908qy2ad1vdwer Datasheet - Page 53

no-image

s908qy2ad1vdwer

Manufacturer Part Number
s908qy2ad1vdwer
Description
Mc68hc908qt4a Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
4.5 Low-Power Modes
The WAIT and STOP instructions put the MCU in low power-consumption standby modes.
4.5.1 Wait Mode
The AWU module is inactive in wait mode.
4.5.2 Stop Mode
When the AWU module is enabled (AWUIE = 1 in the keyboard interrupt enable register) it is activated
automatically upon entering 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. The AWU counters start
from 0 each time stop mode is entered.
4.6 Registers
The AWU shares registers with the keyboard interrupt (KBI) module, the port A I/O module and
configuration register 2. The following I/O registers control and monitor operation of the AWU:
4.6.1 Port A I/O Register
The port A data register (PTA) contains a data latch for the state of the AWU interrupt request, in addition
to the data latches for port A.
AWUL — Auto Wakeup Latch
Freescale Semiconductor
This is a read-only bit which has the value of the auto wakeup interrupt request latch. The wakeup
request signal is generated internally. There is no PTA6 port or any of the associated bits such as
PTA6 data direction or pullup bits.
1 = Auto wakeup interrupt request is pending
0 = Auto wakeup interrupt request is not pending
Port A data register (PTA)
Keyboard interrupt status and control register (KBSCR)
Keyboard interrupt enable register (KBIER)
Configuration register 1 (CONFIG1)
Configuration register 2 (CONFIG2)
Reset:
Read:
Write:
PTA5–PTA0 bits are not used in conjuction with the auto wakeup feature.
To see a description of these bits, see
Bit 7
0
0
= Unimplemented
AWUL
MC68HC908QYA/QTA Family Data Sheet, Rev. 2
Figure 4-2. Port A Data Register (PTA)
6
0
PTA5
5
PTA4
NOTE
4
12.3.1 Port A Data
Unaffected by reset
PTA3
3
PTA2
2
Register.
PTA1
1
PTA0
Bit 0
Low-Power Modes
53

Related parts for s908qy2ad1vdwer