Microchip Technology MA330024 Data Sheet
dsPIC33FJ32GS406/606/608/610 and dsPIC33FJ64GS406/606/608/610
DS70000591F-page 200
2009-2014 Microchip Technology Inc.
REGISTER 9-6:
REFOCON: REFERENCE OSCILLATOR CONTROL REGISTER
R/W-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
ROON
—
ROSSLP
ROSEL
RODIV3
RODIV2
RODIV1
RODIV0
(
)
bit 15
bit 8
U-0
U-0
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
—
—
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 15
ROON: Reference Oscillator Output Enable bit
1
= Reference oscillator output is enabled on the REFCLK0 pin
0
= Reference oscillator output is disabled
bit 14
Unimplemented: Read as ‘0’
bit 13
ROSSLP: Reference Oscillator Run in Sleep bit
1
= Reference oscillator output continues to run in Sleep mode
0
= Reference oscillator output is disabled in Sleep mode
bit 12
ROSEL: Reference Oscillator Source Select bit
1
= Oscillator crystal is used as the reference clock
0
= System clock is used as the reference clock
bit 11-8
RODIV<3:0>: Reference Oscillator Divider bits
)
1111
= Reference clock divided by 32,768
1110
= Reference clock divided by 16,384
1101
= Reference clock divided by 8,192
1100
= Reference clock divided by 4,096
1011
= Reference clock divided by 2,048
1010
= Reference clock divided by 1,024
1001
= Reference clock divided by 512
1000
= Reference clock divided by 256
0111
= Reference clock divided by 128
0110
= Reference clock divided by 64
0101
= Reference clock divided by 32
0100
= Reference clock divided by 16
0011
= Reference clock divided by 8
0010
= Reference clock divided by 4
0001
= Reference clock divided by 2
0000
= Reference clock
bit 7-0
Unimplemented: Read as ‘0’
Note 1:
The reference oscillator output must be disabled (ROON = 0) before writing to these bits.