English
Language : 

PIC16F882-I Datasheet, PDF (72/328 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers
PIC16F882/883/884/886/887
4.7.3
CHECKING TWO-SPEED CLOCK
STATUS
Checking the state of the OSTS bit of the OSCCON
register will confirm if the microcontroller is running
from the external clock source, as defined by the
FOSC<2:0> bits in the Configuration Word Register 1
(CONFIG1), or the internal oscillator.
FIGURE 4-7:
TWO-SPEED START-UP
HFINTOSC
TOST
OSC1 0 1 1022 1023
OSC2
Program Counter PC - N
PC
System Clock
PC + 1
DS41291F-page 70
© 2009 Microchip Technology Inc.