English
Language : 

MC68HC908RK2 Datasheet, PDF (139/232 Pages) Motorola, Inc – Microcontroller Unit
Internal Clock Generator Module (ICG)
I/O Registers
8.8.1 ICG Control Register
The ICG control register (ICGCR) contains the control and status bits for
the internal clock generator, external clock generator, and clock monitor
as well as the clock select and interrupt enable bits.
Address: $0036
Bit 7
6
5
4
3
2
1
Read:
CMF
ICGS
CMIE
CMON
CS
ICGON
ECGON
Write:
Reset: 0
0
0
0
1
0
0
= Unimplemented
Figure 8-11. ICG Control Register (ICGCR)
Bit 0
ECGS
0
CMIE — Clock Monitor Interrupt Enable Bit
This read/write bit enables clock monitor interrupts. An interrupt will
occur when both CMIE and CMF are set. CMIE can be set when the
CMON bit has been set for at least one cycle. CMIE is forced clear
when CMON is clear or during reset.
1 = Clock monitor interrupts enabled
0 = Clock monitor interrupts disabled
CMF — Clock Monitor Interrupt Flag
This read-only bit is set when the clock monitor determines that either
ICLK or ECLK becomes inactive and the CMON bit is set. This bit is
cleared by first reading the bit while it is set, followed by writing the bit
low. This bit is forced clear when CMON is clear or during reset.
1 = Either ICLK or ECLK has become inactive.
0 = ICLK and ECLK have not become inactive since the last read
of the ICGCR or the clock monitor is disabled.
CMON — Clock Monitor On Bit
This read/write bit enables the clock monitor. CMON can be set when
both ICLK and ECLK have been on and stable for at least one bus
cycle (ICGON, ECGON, ICGS, and ECGS are all set). CMON is
MC68HC908RK2 — Rev. 4.0
MOTOROLA
Internal Clock Generator Module (ICG)
Advance Information
139