Microchip Technology MCP1630DM-DDBS1 Data Sheet

Page of 176
PIC12F683
DS41211D-page 28
©
 2007 Microchip Technology Inc.
3.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
(CONFIG), or the internal oscillator.
FIGURE 3-7:
TWO-SPEED START-UP 
0
1
1022 1023
                     
PC + 1
T
OST
T
HFINTOSC
OSC1
OSC2
Program Counter
System Clock
PC - N
PC