27.6.4 RTC Calendar Register

Name: RTC_CALR
Offset: 0x0C
Reset: 0x01E11320
Property: Read/Write

Bit 3130292827262524 
   DATE[5:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000001 
Bit 2322212019181716 
 DAY[2:0]MONTH[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11100001 
Bit 15141312111098 
 YEAR[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00010011 
Bit 76543210 
  CENT[6:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0100000 

Bits 29:24 – DATE[5:0] Current Day in Current Month

The range that can be set is 01–31 (BCD).

The lowest four bits encode the units. The higher bits encode the tens.

Bits 23:21 – DAY[2:0] Current Day in Current Week

The range that can be set is 1–7 (BCD).

The coding of the number (which number represents which day) is user-defined as it has no effect on the date counter.

Bits 20:16 – MONTH[4:0] Current Month

The range that can be set is 01–12 (BCD).

The lowest four bits encode the units. The higher bits encode the tens.

Bits 15:8 – YEAR[7:0] Current Year

The range that can be set is 00–99 (BCD).

The lowest four bits encode the units. The higher bits encode the tens.

Bits 6:0 – CENT[6:0] Current Century

The range that can be set is 19–20 (Gregorian) or 13–14 (Persian) (BCD).

The lowest four bits encode the units. The higher bits encode the tens.