Datasheet

2010-2011 Microchip Technology Inc. DS39996F-page 285
PIC24FJ128GA310 FAMILY
REGISTER 22-11: RTCCSWT: POWER CONTROL AND SAMPLE WINDOW TIMER REGISTER
(1)
R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x
PWCSTAB7 PWCSTAB6 PWCSTAB5 PWCSTAB4 PWCSTAB3 PWCSTAB2 PWCSTAB1 PWCSTAB0
bit 15 bit 8
R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x R/W-x
PWCSAMP7
(2)
PWCSAMP6
(2)
PWCSAMP5
(2)
PWCSAMP4
(2)
PWCSAMP3
(2)
PWCSAMP2
(2)
PWCSAMP1
(2)
PWCSAMP0
(2)
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-8 PWCSTAB<7:0>: Power Control Stability Window Timer bits
11111111 = Stability Window is 255 T
PWCCLK clock periods
11111110 = Stability Window is 254 T
PWCCLK clock periods
...
00000001 = Stability Window is 1 T
PWCCLK clock period
00000000 = No Stability Window; Sample Window starts when the alarm event triggers
bit 7-0 PWCSAMP<7:0>: Power Control Sample Window Timer bits
(2)
11111111 = Sample Window is always enabled, even when PWCEN = 0
11111110 = Sample Window is 254 T
PWCCLK clock periods
...
00000001 = Sample Window is 1 T
PWCCLK clock period
00000000 = No Sample Window
Note 1: A write to this register is only allowed when RTCWREN = 1.
2: The Sample Window always starts when the Stability Window timer expires, except when its initial value is 00h.