Datasheet

PIC18F87K22 FAMILY
DS39960B-page 212 Preliminary 2010 Microchip Technology Inc.
REGISTER 16-3: OSCCON2: OSCILLATOR CONTROL REGISTER 2
U-0 R-0 U-0 U-0 R/W-0 U-0 R-x R/W-0
SOSCRUN —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-4 Unimplemented: Read as0
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