Техническая Спецификация для Microchip Technology MA240017
2008-2011 Microchip Technology Inc.
DS39927C-page 199
PIC24F16KA102 FAMILY
REGISTER 26-8:
FDS: DEEP SLEEP CONFIGURATION REGISTER
R/P-1
R/P-1
R/P-1
R/P-1
R/P-1
R/P-1
R/P-1
R/P-1
DSWDTEN
DSBOREN
RTCOSC
DSWDTOSC DSWDTPS3 DSWDTPS2 DSWDTPS1 DSWDTPS0
bit 7
bit 0
Legend:
R = Readable bit
R = Readable bit
P = Programmable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
DSWDTEN:
Deep Sleep Watchdog Timer Enable bit
1
= DSWDT is enabled
0
= DSWDT is disabled
bit 6
DSBOREN:
Deep Sleep/Low-Power BOR Enable bit (does not affect operation in non Deep Sleep modes)
1
= Deep Sleep BOR is enabled in Deep Sleep
0
= Deep Sleep BOR is disabled in Deep Sleep
bit 5
RTCOSC:
RTCC Reference Clock Select bit
1
= RTCC uses SOSC as a reference clock
0
= RTCC uses LPRC as a reference clock
bit 4
DSWDTOSC:
DSWDT Reference Clock Select bit
1
= DSWDT uses LPRC as a reference clock
0
= DSWDT uses SOSC as a reference clock
bit 3-0
DSWDTPS<3:0>:
Deep Sleep Watchdog Timer Postscale Select bits
The DSWDT prescaler is 32; this creates an approximate base time unit of 1 ms.
1111
1111
= 1:2,147,483,648 (25.7 days) nominal
1110
= 1:536,870,912 (6.4 days) nominal
1101
= 1:134,217,728 (38.5 hours) nominal
1100
= 1:33,554,432 (9.6 hours) nominal
1011
= 1:8,388,608 (2.4 hours) nominal
1010
= 1:2,097,152 (36 minutes) nominal
1001
= 1:524,288 (9 minutes) nominal
1000
= 1:131,072 (135 seconds) nominal
0111
= 1:32,768 (34 seconds) nominal
0110
= 1:8,192 (8.5 seconds) nominal
0101
= 1:2,048 (2.1 seconds) nominal
0100
= 1:512 (528 ms) nominal
0011
= 1:128 (132 ms) nominal
0010
= 1:32 (33 ms) nominal
0001
= 1:8 (8.3 ms) nominal
0000
= 1:2 (2.1 ms) nominal