Datasheet
2011 Microchip Technology Inc. Preliminary DS41576B-page 39
PIC12F752/HV752
4.0 OSCILLATOR MODULE
4.1 Overview
The oscillator module has a variety of clock sources
and selection features that allow it to be used in a wide
range of applications while maximizing performance
and minimizing power consumption. Figure 4-1
illustrates a block diagram of the oscillator module.
The oscillator module can be configured in one of two
clock modes.
1. EC (external clock)
2. INTOSC (internal oscillator)
Clock Source modes are configured by the FOSC bit in
the Configuration Word register (CONFIG).
The internal oscillator module provides the following
selectable system clock modes:
• 8 MHz (HFINTOSC)
• 4 MHz (HFINTOSC Postscaler)
• 1 MHz (HFINTOSC Postscaler)
• 31 kHz (LFINTOSC)
FIGURE 4-1: PIC
®
MCU CLOCK SOURCE BLOCK DIAGRAM
FIGURE 4-2: OSCILLATOR ENABLE
(CPU and
CLKIN
EC
System Clock
MUX
FOSC
Internal Oscillator
HFINTOSC
8 MHz
LFINTOSC
31 kHz
Prescaler
÷1
÷2
÷8
0
1
IRCF<1:0>
00
01
10
11
COG Clock Source
HFINTOSC Enable
(Figure 4-2)
WDT Clock Source
LFINTOSC Enable
(Figure 4-2)
Peripherals)
EC Enable
(Figure 4-2)
FOSC0
Sleep
HFINTOSC Enable
IRCF<1:0> 00
FOSC0
Sleep
EC Enable
FOSC0
Sleep LFINTOSC Enable
IRCF<1:0> = 00
WDTE