Microchip Technology TDGL019 Data Sheet

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