|
PIC16F707 Datasheet, PDF (71/284 Pages) Microchip Technology – 40/44-Pin, Flash Microcontrollers with nanoWatt XLP and mTouch™ Technology | |||
|
◁ |
PIC16F707/PIC16LF707
7.4 Oscillator Control
The Oscillator Control (OSCCON) register (Figure 7-1)
displays the status and allows frequency selection of the
internal oscillator (INTOSC) system clock. The
OSCCON register contains the following bits:
⢠Frequency selection bits (IRCF)
⢠Status Locked bits (ICSL)
⢠Status Stable bits (ICSS)
REGISTER 7-1: OSCCON: OSCILLATOR CONTROL REGISTER
U-0
â
bit 7
U-0
R/W-1
R/W-0
R-q
R-q
U-0
â
IRCF1
IRCF0
ICSL
ICSS
â
U-0
â
bit 0
Legend:
R = Readable bit
W = Writable bit
-n = Value at POR
â1â = Bit is set
q = Value depends on condition
U = Unimplemented bit, read as â0â
â0â = Bit is cleared
x = Bit is unknown
bit 7-6
bit 5-4
bit 3
bit 2
bit 1-0
Unimplemented: Read as â0â
IRCF<1:0>: Internal Oscillator Frequency Select bits
When PLLEN = 1 (16 MHz INTOSC)
11 = 16 MHz
10 = 8 MHz (POR value)
01 = 4 MHz
00 = 2 MHz
When PLLEN = 0 (500 kHz INTOSC)
11 = 500 kHz
10 = 250 kHz (POR value)
01 = 125 kHz
00 = 62.5 kHz
ICSL: Internal Clock Oscillator Status Locked bit (2% Stable)
1 = 16 MHz/500 kHz Internal Oscillator (HFIOSC) is in lock.
0 = 16 MHz/500 kHz Internal Oscillator (HFIOSC) has not yet locked.
ICSS: Internal Clock Oscillator Status Stable bit (0.5% Stable)
1 = 16 MHz/500 kHz Internal Oscillator (HFIOSC) has stabilized to its maximum accuracy
0 = 16 MHz/500 kHz Internal Oscillator (HFIOSC) has not yet reached its maximum accuracy
Unimplemented: Read as â0â
ï£ 2010 Microchip Technology Inc.
Preliminary
DS41418A-page 71
|
▷ |