English
Language : 

MC68HC908RK2 Datasheet, PDF (79/158 Pages) Motorola, Inc – Microcontroller Unit
I/O Registers
Table 6-5. ICG Module Register Bit Interaction Summary
Condition
Register Bit Results for Given Condition
CMIE CMF CMON CS ICGON ICGS ECGON ECGS N[6:0] TRIM[7:0] DDIV[3:0] DSTG[7:0]
Reset 0
0
0
0
1
0
0
0
$15
$80
—
—
CMF = 1 — (1)
1—
1
—
1
— uw
uw
uw
uw
CMON = 0 0
0
(0) — —
—
—
—
—
—
—
—
CMON = 1 — — (1) — 1
—
1
— uw
uw
uw
uw
CS = 0 — — — (0) 1
—
—
—
—
—
uw
uw
CS = 1 — — — (1) —
—
1
—
—
—
—
—
ICGON = 0 0
0
0 1 (0)
0
1
—
—
—
—
—
ICGON = 1 — —
— — (1)
—
—
—
—
—
uw
uw
ICGS = 0 us — us uc — (0)
—
—
—
—
—
—
ECGON = 0 0
0
0
0
1
—
(0)
0
—
—
uw
uw
ECGS = 0 us — us us —
—
—
(0)
—
—
—
—
IOFF = 1 — 1* (1) 1 (1)
0
(1)
— uw
uw
uw
uw
EOFF = 1 — 1* (1) 0 (1) —
(1)
0
uw
uw
uw
uw
N = written (0) (0) (0) — —
0*
—
—
—
—
—
—
TRIM = written (0) (0) (0) — —
0*
—
—
—
—
—
—
— Register bit is unaffected by the given condition.
0, 1 Register bit is forced clear or set, respectively, in the given condition.
0*, 1* Register bit is temporarily forced clear or set, respectively, in the given condition.
(0), (1) Register bit must be clear or set, respectively, for the given condition to occur.
us, uc, uw Register bit cannot be set, cleared, or written, respectively, in the given condition.
6.7.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
Bit 0
Read:
CMF
ICGS
ECGS
CMIE
CMON
CS
ICGON
ECGON
Write:
Reset:
0
0
0
0
1
0
0
0
= Unimplemented
Figure 6-12. ICG Control Register (ICGCR)
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
MC68HC908RK2 Data Sheet, Rev. 5.1
Freescale Semiconductor
79