MOTOROLA
TIMER/RESET MODULE
MMC2001
9-4
REFERENCE MANUAL
CKOE — CLKOUT Enable
This bit controls the drive enable for the CLKOUT pin. It is cleared by POR, a qualified
assertion of the RSTIN pin, or a qualified assertion of the LVRSTIN pin.
0 =
CLKOUT is disabled and forced to the low state
1 =
CLKOUT is enabled and driven from the source selected by CKOS
LVRSTIN — LVRSTIN Pin
This bit is set when the LVRSTIN pin is asserted to reset the MMC2001 chip. It is not
affected by the other reset sources. When the POR bit is set, however, this bit is
undefined. This bit is cleared by writing to RSCR.
RST — RSTIN Pin
This bit is set when the RSTIN pin is asserted and qualified by the four-cycle qualifier
to reset the MMC2001 chip. It is not affected by the other reset sources. When the
POR bit is set, however, this bit is undefined. It is cleared by writing to RSCR.
POR — Power-On Reset
This bit is set when an internal POR occurs to reset the chip. It is not affected by the
other reset sources. It is cleared by writing to RSCR.
WDR — Watchdog Reset
This bit is set when the watchdog timer expires. It is cleared by POR, a qualified
assertion of the RSTIN pin, a qualified assertion of the LVRSTIN pin, or by writing to
RSCR.
9.4 Time-of-Day Timer
The time-of-day timer (TOD) is a free-running timer that is clocked by the crystal oscil-
lator at a frequency of 256 Hz (LOW_REFCLK/128). It is comprised of a 32-bit regis-
ter which counts seconds, and another 32-bit register which holds an 8-bit fraction of
a second, where bit 31 is 1/2 of a second and bit 24 is 1/256 of a second.
The TOD has an alarm function which compares the seconds and fraction registers
with the seconds alarm and fraction alarm register and issues an interrupt if there is a
match.
Figure 9-3 TOD Block Diagram
256 Hz
TOD Fraction Latch
MMC2001 Internal Bus
1 S
e
cond
32-Bit TOD Seconds Alarm
32-Bit TOD Seconds
TOD Fraction Alarm
TOD Fraction
Alarm
Interrupt
31
0
31
24
24
31
31
31
24
0
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..