17.4.1 Counter Bit Positions

The RTC counters support the following two counting modes:

  • Binary Mode: In Binary mode, a 43-bit counter is provided.
  • Calendar Mode: The 43 bits are allocated as following:
Table 17-4. Allocation of Bits in Calendar Mode
CounterCountsSize BitsBits in CounterReset Value
Seconds0-596[5:0]0
Minutes0-596[11:6]0
Hours0-235[16:12]0
Day1-315[21:17]1
Month1-125[25:22]1
Year0-2558[33:26]0
Weekday1-73[36:34]7
Week1-526[42:37]1
  • Weekday, 1: Sunday, 2: Monday …. 7:Saturday
  • Reset date is Saturday 1 January 2000.
  • The leap year calculations assume the year value where 0-255 is mapped to 2000 to 2255.