English
Language : 

PIC16F193X Datasheet, PDF (115/418 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F193X/LF193X
8.5.5 OSCSTAT REGISTER
The OSCSTAT register contains flags that represent
the current status of the oscillators module.
REGISTER 8-2: OSCSTAT: OSCILLATOR STATUS REGISTER
R-0/q
T1OSCR
bit 7
R-0/q
PLLR
R-q/q
OSTS
R-0/q
HFIOFR
R-0/q
HFIOFL
R-q/q
MFIOFR
R-0/0
LFIOFR
R-0/q
HFIOFS
bit 0
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
T1OSCR: Timer1 Oscillator Ready bit
If the Timer1 oscillator is enabled (T1OSCEN = 1)
1 = Timer1 oscillator is ready and can be switched to
0 = Timer1 oscillator is not ready
else Timer1 oscillator is disabled - clock source is T1CKI
1 = Timer1 oscillator is always ready
bit 6
PLLR 4x PLL Ready bit
1 = 4x PLL is ready and can be switched to
0 = 4x PLL oscillator is not ready
bit 5
OSTS: Oscillator Start-up Time-out Status bit
1 = Device running from the clock defined by FOSC<3:0> of the CONFIG1 register
0 = Device running from the internal oscillator (HFINTOSC, MFINTOSC or LFINTOSC)
bit 4
HFIOFR: High Frequency Internal Oscillator Ready bit
1 = 16 MHz Internal Oscillator (HFINTOSC) is ready and can be switched to
0 = 16 MHz Internal Oscillator (HFINTOSC) is not ready
bit 3
HFIOFL: High Frequency Internal Oscillator Status Locked bit (2% Stable)
1 = 16 MHz Internal Oscillator (HFINTOSC) is in lock
0 = 16 MHz Internal Oscillator (HFINTOSC) has not yet locked
bit 2
MFIOFR: Medium Frequency Internal Oscillator (500 kHz HFINTOSC Output) Ready bit
1 = 500 kHz Internal Oscillator (MFINTOSC) is ready and can be switched to
0 = 500 kHz Internal Oscillator (MFINTOSC) is not ready
bit 1
LFIOFR: Low Frequency Internal Oscillator Ready bit
1 = 31 kHz Internal Oscillator (LFINTOSC) is ready and can be switched to
0 = 31 kHz Internal Oscillator (LFINTOSC) is not ready
bit 0
HFIOFS: High Frequency Internal Oscillator Stable bit (0.5% Stable)
1 = 16 MHz Internal Oscillator (HFINTOSC) is in communications stable
0 = 16 MHz Internal Oscillator (HFINTOSC) is not yet communications stable
© 2008 Microchip Technology Inc.
Preliminary
DS41364A-page 113