17.4.2 Register Bit Allocation

Depending on the CLOCK_MODE setting, the bit mapping is given in the following table.

Table 17-5. Register Bit Allocation
Clock ModeDate Time Alarm Compare RegisterBitsDescription
0Lower[31:0]Binary Count[31:0]
Upper[10:0]Binary Count[42:32]
1Lower[7:0]Seconds
[15:8]Minutes
[23:16]Hours
[31:24]Day
Upper[7:0]Month
[15:8]Year
[23:16]Weekday
[29:24]Week

The following table shows the Register Map for RTC.

Table 17-6. Register Map for RTC
Register NameAddress

Offset

R/WReset ValueDescription
Table 17-70x00R/W0The control register is an 11-bit register that defines the operations of the RTC.
Table 17-80x04R/W0This register should only be written when the RTC is stopped—when the control register bit 0 reads as a '0'.
Table 17-90x08R/W0The value of the prescaler can be written here. This register should only be written when the RTC is stopped—when the control register bit 0 reads as a '0'.
Table 17-100x0C-0x18R/W0Sets and reads the alarm time.
Table 17-110x20 -0x6CR/W0Allows the individual bytes of the date and timer to be read; and registers can be written when the RTC is running.