Microchip Technology MCU PIC10F322T-I/OT SOT-23-6 MCP PIC10F322T-I/OT Hoja De Datos
Los códigos de productos
PIC10F322T-I/OT
PIC10(L)F320/322
DS41585A-page 30
Preliminary
2011 Microchip Technology Inc.
4.4
Oscillator Control Registers
4.4.1
OSCILLATOR CONTROL
The Oscillator Control (OSCCON) register (
)
displays the oscillator readiness, stability and allows
frequency selection of the internal oscillator (INTOSC)
system clock.
frequency selection of the internal oscillator (INTOSC)
system clock.
REGISTER 4-2:
OSCCON: OSCILLATOR CONTROL REGISTER
U-0
R/W-1/1
R/W-1/1
R/W-0/0
R-0/0
U-0
R-0/0
R-0/0
—
IRCF<2:0>
HFIOFR
—
LFIOFR
HFIOFS
bit 7
bit 0
Legend:
R = Readable bit
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
q = Value depends on condition
bit 7
Unimplemented:
Read as ‘0’
bit 6-4
IRCF<2:0>:
INTOSC (F
OSC
) Frequency Select bits
111
= 16 MHz
110
= 8 MHz (default value)
101
= 4 MHz
100
= 2 MHz
011
= 1 MHz
010
= 500 kHz
001
= 250 kHz
000
= 31 kHz (LFINTOSC)
bit 3
HFIOFR:
High-Frequency Internal Oscillator Ready bit
1
= 16 MHz Internal Oscillator (HFINTOSC) is ready
0
= 16 MHz Internal Oscillator (HFINTOSC) is not ready
bit 2
Unimplemented:
Read as ‘0’
bit 1
LFIOFR:
Low-Frequency Internal Oscillator Ready bit
1
= 31 kHz Internal Oscillator (LFINTOSC) is ready
0
= 31 kHz Internal Oscillator (LFINTOSC) is not ready
bit 0
HFIOFS:
High-Frequency Internal Oscillator Stable bit
1
= 16 MHz Internal Oscillator (HFINTOSC) is stable
0
= 16 MHz Internal Oscillator (HFINTOSC) is not stable