English
Language : 

MC9S12G Datasheet, PDF (361/1160 Pages) Freescale Semiconductor, Inc – Ignores external trigger. Performs one conversion sequence and stops.
S12 Clock, Reset and Power Management Unit (S12CPMU)
0x02FA
7
6
5
4
3
2
1
0
R
OSCE
OSCPINS_E
Reserved
N
Reserved]
W
Reset
0
0
0
0
0
0
0
0
Figure 10-27. S12CPMU Oscillator Register (CPMUOSC)
Read: Anytime
Write: Anytime if PROT=0 (CPMUPROT register) and PLLSEL=1 (CPMUCLKS register). Else write has
no effect.
NOTE.
Write to this register clears the LOCK and UPOSC status bits.
Table 10-24. CPMUOSC Field Descriptions
Field
7
OSCE
Description
Oscillator Enable Bit — This bit enables the external oscillator (XOSCLCP). The UPOSC status bit in the
CPMUFLG register indicates when the oscillation is stable and OSCCLK can be selected as Bus Clock or source
of the COP or RTI. A loss of oscillation will lead to a clock monitor reset.
0 External oscillator is disabled.
REFCLK for PLL is IRCCLK.
1 External oscillator is enabled.Clock monitor is enabled.External oscillator is qualified by PLLCLK
REFCLK for PLL is the external oscillator clock divided by REFDIV.
6
Reserved
Note: When starting up the external oscillator (either by programming OSCE bit to 1 or on exit from Full Stop
Mode with OSCE bit already 1) the software must wait for a minimum time equivalent to the startup-time
of the external oscillator tUPOSC before entering Pseudo Stop Mode.
Do not alter this bit from its reset value. It is for Manufacturer use only and can change the PLL behavior.
5
Oscillator Pins EXTAL and XTAL Enable Bit
OSCPINS_EN If OSCE=1 this read-only bit is set. It can only be cleared with the next reset.
Enabling the external oscillator reserves the EXTAL and XTAL pins exclusively for oscillator application.
0 EXTAL and XTAL pins are not reserved for oscillator.
1 EXTAL and XTAL pins exclusively reserved for oscillator.
4-0
Do not alter these bits from their reset value. It is for Manufacturer use only and can change the PLL behavior.
Reserved
10.3.2.20 S12CPMU Protection Register (CPMUPROT)
This register protects the following clock configuration registers from accidental overwrite:
MC9S12G Family Reference Manual, Rev.1.01
Freescale Semiconductor
361
This document is valid for the S12G96 and the S12G128 device. All information related to other devices is preliminary.