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 Mode Date Time Alarm Compare Register Bits Description
0 Lower [31:0] Binary Count[31:0]
Upper [10:0] Binary Count[42:32]
1 Lower [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 Name Address

Offset

R/W Reset Value Description
Table 17-7 0x00 R/W 0 The control register is an 11-bit register that defines the operations of the RTC.
Table 17-8 0x04 R/W 0 This register should only be written when the RTC is stopped—when the control register bit 0 reads as a '0'.
Table 17-9 0x08 R/W 0 The 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-10 0x0C-0x18 R/W 0 Sets and reads the alarm time.
Table 17-11 0x20 -0x6C R/W 0 Allows the individual bytes of the date and timer to be read; and registers can be written when the RTC is running.