![Freescale Semiconductor MC68HC08KH12 Datasheet Download Page 107](http://html1.mh-extra.com/html/freescale-semiconductor/mc68hc08kh12/mc68hc08kh12_datasheet_2330536107.webp)
MC68HC(7)08KH12
—
Rev. 1.1
Advance Information
Freescale Semiconductor
107
8.7 Interrupts
When the AUTO bit is set in the PLL bandwidth control register (PBWC),
the PLL can generate a CPU interrupt request every time the LOCK bit
changes state. The PLLIE bit in the PLL control register (PCTL) enables
CPU interrupts from the PLL. PLLF, the interrupt flag in the PCTL,
becomes set whether interrupts are enabled or not. When the AUTO bit
is clear, CPU interrupts from the PLL are disabled and PLLF reads as
logic zero.
Software should read the LOCK bit after a PLL interrupt request to see
if the request was due to an entry into lock or an exit from lock. When the
PLL enters lock, the VCO clock, CGMPCLK, divided by two can be
selected as the CGMOUT source by setting BCS in the PCTL. When the
PLL exits lock, the VCO clock frequency is corrupt, and appropriate
precautions should be taken. If the application is not frequency sensitive,
interrupts should be disabled to prevent PLL interrupt service routines
from impeding software performance or from exceeding stack
limitations.
NOTE:
Software can select the CGMPCLK divided by two as the CGMOUT
source even if the PLL is not locked (LOCK = 0). Therefore, software
should make sure the PLL is locked before setting the BCS bit.
8.8 Special Modes
The WAIT instruction puts the MCU in low-power-consumption standby
modes.
8.8.1 Wait Mode
The WAIT instruction does not affect the CGM. Before entering wait
mode, software can disengage and turn off the PLL by clearing the BCS
and PLLON bits in the PLL control register (PCTL) to save power. Less
power-sensitive applications can disengage the PLL without turning it
off, so that the PLL clock is immediately available at WAIT exit. This
would also be the case when the PLL is to wake the MCU from wait
mode, such as when the PLL is first enabled and waiting for LOCK, or
LOCK is lost.
Summary of Contents for MC68HC08KH12
Page 2: ......
Page 4: ...Advance Information MC68HC 7 08KH12 Rev 1 1 4 Freescale Semiconductor...
Page 16: ...Advance Information MC68HC 7 08KH12 Rev 1 1 16 Freescale Semiconductor...
Page 44: ...Advance Information MC68HC 7 08KH12 Rev 1 1 44 Freescale Semiconductor...
Page 48: ...Advance Information MC68HC 7 08KH12 Rev 1 1 48 Freescale Semiconductor...
Page 60: ...Advance Information MC68HC 7 08KH12 Rev 1 1 60 Freescale Semiconductor...
Page 160: ...Advance Information MC68HC 7 08KH12 Rev 1 1 160 Freescale Semiconductor...
Page 206: ...Advance Information MC68HC 7 08KH12 Rev 1 1 206 Freescale Semiconductor...
Page 261: ......