English
Language : 

PIC16F882_12 Datasheet, PDF (76/338 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16F882/883/884/886/887
FIGURE 4-9:
FSCM TIMING DIAGRAM
Sample Clock
System
Clock
Output
Clock Monitor Output
(Q)
OSCFIF
Oscillator
Failure
Failure
Detected
Note:
Test
Test
Test
The system clock is normally at a much higher frequency than the sample clock. The relative frequencies in
this example have been chosen for clarity.
TABLE 4-2: SUMMARY OF REGISTERS ASSOCIATED WITH CLOCK SOURCES
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
OSCCON
—
IRCF2 IRCF1 IRCF0 OSTS
HTS
LTS
SCS
66
OSCTUNE
—
—
—
TUN4 TUN3
TUN2
TUN1 TUN0
70
PIE2
OSFIE C2IE
C1IE
EEIE BCLIE ULPWUIE
—
CCP2IE
35
PIR2
OSFIF C2IF
C1IF
EEIF BCLIF ULPWUIF
—
CCP2IF
37
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by
oscillators.
TABLE 4-3: SUMMARY OF CONFIGURATION WORD ASSOCIATED WITH CLOCK SOURCES
Name
Bits Bit -/7 Bit -/6 Bit 13/5 Bit 12/4 Bit 11/3 Bit 10/2 Bit 9/1
Bit 8/0
Register
on Page
CONFIG1(1) 13:8
—
—
DEBUG
LVP
FCMEN IESO BOREN 1 BOREN0 214
7:0 CPD
CP MCLRE PWRTE WDTE FOSC 2 FOSC 1 FOSC 0
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by
oscillators.
Note 1: See Configuration Word Register 1 (Register 14-1) for operation of all register bits.
DS41291G-page 76
 2006-2012 Microchip Technology Inc.