RTC_CALR

RTC Calendar Register

  0x0C 32 Read/Write 0x01E11320  

RTC Calendar Register

Bit  31 30 29 28 27 26 25 24  
      DATE[5:0]  
Access      R/W R/W R/W R/W R/W R/W  
Reset      0 0 0 0 0 1  
Bit  23 22 21 20 19 18 17 16  
  DAY[2:0] MONTH[4:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  1 1 1 0 0 0 0 1  
Bit  15 14 13 12 11 10 9 8  
  YEAR[7:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 1 0 0 1 1  
Bit  7 6 5 4 3 2 1 0  
    CENT[6:0]  
Access    R/W R/W R/W R/W R/W R/W R/W  
Reset    0 1 0 0 0 0 0  

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

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.

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

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 20:16 – MONTH[4:0]: Current Month

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 23:21 – DAY[2:0]: Current Day in Current Week

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 29:24 – DATE[5:0]: Current Day in Current Month

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.