Microchip Technology Microstick for the 3V PIC24F K-series DM240013-1 DM240013-1 데이터 시트
제품 코드
DM240013-1
2011 Microchip Technology Inc.
DS31037B-page 103
PIC24F16KL402 FAMILY
REGISTER 9-4:
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
ROEN
—
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
ROEN:
Reference Oscillator Output Enable bit
1
= Reference oscillator enabled on REFO pin
0
= Reference oscillator disabled
bit 14
Unimplemented:
Read as ‘0’
bit 13
ROSSLP:
Reference Oscillator Output Stop in Sleep bit
1
= Reference oscillator continues to run in Sleep
0
= Reference oscillator is disabled in Sleep
bit 12
ROSEL:
Reference Oscillator Source Select bit
1
= Primary oscillator is used as the base clock
(
)
0
= System clock is used as the base clock; the base clock reflects any clock switching of the device
bit 11-8
RODIV<3:0>:
Reference Oscillator Divisor Select bits
1111
= Base clock value divided by 32,768
1110
= Base clock value divided by 16,384
1101
= Base clock value divided by 8,192
1100
= Base clock value divided by 4,096
1011
= Base clock value divided by 2,048
1010
= Base clock value divided by 1,024
1001
= Base clock value divided by 512
1000
= Base clock value divided by 256
0111
= Base clock value divided by 128
0110
= Base clock value divided by 64
0101
= Base clock value divided by 32
0100
= Base clock value divided by 16
0011
= Base clock value divided by 8
0010
= Base clock value divided by 4
0001
= Base clock value divided by 2
0000
= Base clock value
bit 7-0
Unimplemented:
Read as ‘0’
Note 1:
The crystal oscillator must be enabled using the FOSC<2:0> bits; the crystal maintains the operation in
Sleep mode.
Sleep mode.