s908ey8ad4cfjer Freescale Semiconductor, Inc, s908ey8ad4cfjer Datasheet - Page 98

no-image

s908ey8ad4cfjer

Manufacturer Part Number
s908ey8ad4cfjer
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Internal Clock Generator (ICG) Module
ICGON — Internal Clock Generator On Bit
ICGS — Internal Clock Generator Stable Bit
ECGON — External Clock Generator On Bit
ECGS — External Clock Generator Stable Bit
8.7.2 ICG Multiplier Register
N6:N0 — ICG Multiplier Factor Bits
98
This read/write bit enables the internal clock generator. ICGON can be cleared when the CS bit has
been set and the CMON bit has been clear for at least one bus cycle. ICGON is forced set when the
CMON bit is set, the CS bit is clear, or during reset.
This read-only bit indicates when the internal clock generator has determined that the internal clock
(ICLK) is within about 5 percent of the desired value. This bit is forced clear when the clock monitor
determines the ICLK is inactive, when ICGON is clear, when the ICG multiplier register (ICGMR) is
written, when the ICG TRIM register (ICGTR) is written, during stop mode with OSCENINSTOP low,
or during reset.
This read/write bit enables the external clock generator. ECGON can be cleared when the CS and
CMON bits have been clear for at least one bus cycle. ECGON is forced set when the CMON bit or the
CS bit is set. ECGON is forced clear during reset.
This read-only bit indicates when at least 4096 external clock (ECLK) cycles have elapsed since the
external clock generator was enabled. This is not an assurance of the stability of ECLK but is meant
to provide a startup delay. This bit is forced clear when the clock monitor determines ECLK is inactive,
when ECGON is clear, during stop mode with OSCENINSTOP low, or during reset.
These read/write bits change the multiplier used by the internal clock generator. The internal clock
(ICLK) will be:
A value of $00 in this register is interpreted the same as a value of $01. This register cannot be written
when the CMON bit is set. Reset sets this factor to $15 (decimal 21) for default frequency of 6.45 MHz
± 25 percent (1.613 MHz ± 25 percent bus).
1 = Internal clock generator enabled
0 = Internal clock generator disabled
1 = Internal clock is within 5 percent of the desired value.
0 = Internal clock may not be within 5 percent of the desired value.
1 = External clock generator enabled
0 = External clock generator disabled
1 = 4096 ECLK cycles have elapsed since ECGON was set.
0 = External clock is unstable, inactive, or disabled.
(307.2 kHz ± 25 percent) * N
Address: $0037
Reset:
Read:
Write:
Bit 7
0
MC68HC908EY16 • MC68HC908EY8 Data Sheet, Rev. 10
Figure 8-12. ICG Multiplier Register (ICGMR)
= Unimplemented
N6
6
0
N5
5
0
N4
4
1
N3
3
0
N2
2
1
N1
1
0
Freescale Semiconductor
Bit 0
N0
1

Related parts for s908ey8ad4cfjer