PIC18F2450/4450
REGISTER 2-1:
OSCCON: OSCILLATOR CONTROL REGISTER
R/W-0
IDLEN
bit 7
U-0
—
U-0
—
U-0
—
R(1)
U-0
—
R/W-0
SCS1
R/W-0
SCS0
OSTS
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
bit 7
IDLEN: Idle Enable bit
1= Device enters Idle mode on SLEEPinstruction
0= Device enters Sleep mode on SLEEPinstruction
bit 6-4
bit 3
Unimplemented: Read as ‘0’
OSTS: Oscillator Start-up Time-out Status bit(1)
1= Oscillator Start-up Timer time-out has expired; primary oscillator is running
0= Oscillator Start-up Timer time-out is running; primary oscillator is not ready
bit 2
Unimplemented: Read as ‘0’
bit 1-0
SCS1:SCS0: System Clock Select bits
1x= Internal oscillator
01= Timer1 oscillator
00= Primary oscillator
Note 1: Depends on the state of the IESO Configuration bit.
© 2006 Microchip Technology Inc.
Advance Information
DS39760A-page 31