English
Language : 

MC68HC08AZ0 Datasheet, PDF (129/444 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
Clock Generator Module (CGM)
Interrupts
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 ‘0’.
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 CGMVCLK, 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 CGMVCLK/2 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.
21-cgm
MOTOROLA
Clock Generator Module (CGM)
For More Information On This Product,
Go to: www.freescale.com
MC68HC08AZ0
127