PIC32MX1XX/2XX/5XX 64/100-PIN FAMILY
REGISTER 21-4: RTCDATE: RTC DATE VALUE REGISTER
Bit
Bit
Bit
Bit
Bit
Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3
31:24
23:16
15:8
7:0
R/W-x
R/W-x
R/W-x
U-0
—
R/W-x
R/W-x
YEAR10<3:0>
R/W-x
R/W-x
MONTH10<3:0>
R/W-x
R/W-x
DAY10<3:0>
U-0
U-0
—
—
R/W-x
R/W-x
R/W-x
U-0
—
R/W-x
R/W-x
R/W-x
R/W-x
Bit
Bit
26/18/10/2 25/17/9/1
R/W-x
R/W-x
YEAR01<3:0>
R/W-x
R/W-x
MONTH01<3:0>
R/W-x
R/W-x
DAY01<3:0>
R/W-x
R/W-x
WDAY01<3:0>
Bit
24/16/8/0
R/W-x
R/W-x
R/W-x
R/W-x
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
bit 31-28 YEAR10<3:0>: Binary-Coded Decimal Value of Years bits, 10s place digits
bit 27-24 YEAR01<3:0>: Binary-Coded Decimal Value of Years bits, 1s place digit
bit 23-20 MONTH10<3:0>: Binary-Coded Decimal Value of Months bits, 10s place digits; contains a value of 0 or 1
bit 19-16 MONTH01<3:0>: Binary-Coded Decimal Value of Months bits, 1s place digit; contains a value from 0 to 9
bit 15-12 DAY10<3:0>: Binary-Coded Decimal Value of Days bits, 10s place digits; contains a value from 0 to 3
bit 11-8 DAY01<3:0>: Binary-Coded Decimal Value of Days bits, 1s place digit; contains a value from 0 to 9
bit 7-4 Unimplemented: Read as ‘0’
bit 3-0 WDAY01<3:0>: Binary-Coded Decimal Value of Weekdays bits,1s place digit; contains a value from 0 to 6
Note: This register is only writable when RTCWREN = 1 (RTCCON<3>).
DS60001290E-page 228
2014-2017 Microchip Technology Inc.