English
Language : 

MC9S08AW16CFUE Datasheet, PDF (138/324 Pages) Freescale Semiconductor, Inc – MC9S08AW60 Features
Chapter 8 Internal Clock Generator (S08ICGV4)
8.3.3 ICG Status Register 1 (ICGS1)
R
W
Reset
Field
7:6
CLKST
5
REFST
4
LOLS
3
LOCK
2
LOCS
1
ERCS
0
ICGIF
7
6
CLKST
5
REFST
4
LOLS
3
LOCK
2
LOCS
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 8-8. ICG Status Register 1 (ICGS1)
1
ERCS
0
0
ICGIF
1
0
Table 8-3. ICGS1 Register Field Descriptions
Description
Clock Mode Status — The CLKST bits indicate the current clock mode. The CLKST bits don’t update
immediately after a write to the CLKS bits due to internal synchronization between clock domains.
00 Self-clocked
01 FLL engaged, internal reference
10 FLL bypassed, external reference
11 FLL engaged, external reference
Reference Clock Status — The REFST bit indicates which clock reference is currently selected by the
Reference Select circuit.
0 External Clock selected.
1 Crystal/Resonator selected.
FLL Loss of Lock Status — The LOLS bit is an indication of FLL lock status.
0 FLL has not unexpectedly lost lock since LOLS was last cleared.
1 FLL has unexpectedly lost lock since LOLS was last cleared, LOLRE determines action taken.
FLL Lock Status — The LOCK bit indicates whether the FLL has acquired lock. The LOCK bit is cleared in off,
self-clocked, and FLL bypassed modes.
0 FLL is currently unlocked.
1 FLL is currently locked.
Loss Of Clock Status — The LOCS bit is an indication of ICG loss of clock status.
0 ICG has not lost clock since LOCS was last cleared.
1 ICG has lost clock since LOCS was last cleared, LOCRE determines action taken.
External Reference Clock Status — The ERCS bit is an indication of whether or not the external reference
clock (ICGERCLK) meets the minimum frequency requirement.
0 External reference clock is not stable, frequency requirement is not met.
1 External reference clock is stable, frequency requirement is met.
ICG Interrupt Flag — The ICGIF read/write flag is set when an ICG interrupt request is pending. It is cleared by
a reset or by reading the ICG status register when ICGIF is set and then writing a logic 1 to ICGIF. If another ICG
interrupt occurs before the clearing sequence is complete, the sequence is reset so ICGIF would remain set after
the clear sequence was completed for the earlier interrupt. Writing a logic 0 to ICGIF has no effect.
0 No ICG interrupt request is pending.
1 An ICG interrupt request is pending.
MC9S08AW60 Data Sheet, Rev 2
138
Freescale Semiconductor