English
Language : 

PIC24FJ128GA Datasheet, PDF (154/232 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA FAMILY
REGISTER 18-1: RCFGCAL: RTCC CALIBRATION AND CONFIGURATION REGISTER(1)
(CONTINUED)
Upper Byte:
R/W-0
U-0
RTCEN(2)
—
bit 15
R/W-0
R-0
R-0
RTCWREN RTCSYNC HALFSEC
R/W-0
RTCOE
R/W-0
R/W-0
RTCPTR1 RTCPTR0
bit 8
Lower Byte:
R/W-0
R/W-0
CAL7
CAL6
bit 7
R/W-0
CAL5
R/W-0
CAL4
R/W-0
CAL3
R/W-0
CAL2
R/W-0
CAL1
R/W-0
CAL0
bit 0
bit 9-8
bit 7-0
RTCPTR1:RTCPTR0: RTCC Value Register Window Pointer bits
Points to the corresponding RTCC Value registers when reading RTCVALH and RTCVALL registers; the
RTCPTR<1:0> value decrements on every read or write of RTCVALH until it reaches ‘00’.
RTCVAL<15:8>:
00 = MINUTES
01 = WEEKDAY
10 = MONTH
11 = Reserved
RTCVAL<7:0>:
00 = SECONDS
01 = HOURS
10 = DAY
11 = YEAR
CAL7:CAL0: RTC Drift Calibration bits
01111111 =
...
01111111 =
00000000 =
11111111 =
...
10000000 =
Maximum positive adjustment; adds 508 RTC clock pulses every one minute
Minimum positive adjustment; adds 4 RTC clock pulses every one minute
No adjustment
Minimum negative adjustment; subtracts 4 RTC clock pulses every one minute
Maximum negative adjustment; subtracts 512 RTC clock pulses every one minute
Note 1: The RCFGCAL register is only affected by a POR.
2: A write to the RTCEN bit is only allowed when RTCWREN = 1.
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
DS39747C-page 152
Preliminary
© 2006 Microchip Technology Inc.