Microchip Technology MA330028 数据表
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X AND PIC24EPXXXGP/MC20X
DS70000657H-page 162
2011-2013 Microchip Technology Inc.
REGISTER 9-5:
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
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 REFCLK
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
0
= Reference oscillator output is disabled in Sleep
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.
2:
This pin is remappable. See
for more information.