26.6.5 RTC Calendar Register

In UTC mode, values read in this register are not relevant.

This register can only be written if the WPEN bit is cleared in the System Controller Write Protection Mode register (SYSC_WPMR).

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

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

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 20 (Gregorian).

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

Note: Value 20 (BCD) is always written in CENT whatever the value entered, thus there is no trigger event on RTC_VER.NVCAL regarding CENT.