Datasheet

2010-2012 Microchip Technology Inc. DS39977F-page 225
PIC18F66K80 FAMILY
REGISTER 16-3: OSCCON2: OSCILLATOR CONTROL REGISTER 2
U-0 R-0 U-0 RW-1 R/W-0 U-0 R-x R/W-0
SOSCRUN —SOSCDRV
(1)
SOSCGO MFIOFS MFIOSEL
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7
Unimplemented: Read as0
bit 6
SOSCRUN: SOSC Run Status bit
1 = System clock comes from a secondary SOSC
0 = System clock comes from an oscillator other than SOSC
bit 5
Unimplemented: Read as0
bit 4
SOSCDRV: Secondary Oscillator Drive Control bit
(1)
1 = High-power SOSC circuit selected
0 = Low/high-power select is done via the SOSCSEL<1:0> Configuration bits
bit 3
SOSCGO: Oscillator Start Control bit
1 = Oscillator is running even if no other sources are requesting it
0 = Oscillator is shut off if no other sources are requesting it (When the SOSC is selected to run from
a digital clock input, rather than an external crystal, this bit has no effect.)
bit 2
Unimplemented: Read as0
bit 1
MFIOFS: MF-INTOSC Frequency Stable bit
1 = MF-INTOSC is stable
0 = MF-INTOSC is not stable
bit 0
MFIOSEL: MF-INTOSC Select bit
1 = MF-INTOSC is used in place of HF-INTOSC frequencies of 500 kHz, 250 kHz and 31.25 kHz
0 = MF-INTOSC is not used
Note 1: When SOSC is selected to run from a digital clock input, rather than an external crystal, this bit has no
effect.