23.9.15 Timestamp Value
Note: If an external reset occurs during
a tamper detection the TIMESTAMP register is permanently locked until the next power
up. To avoid that specific situation do not use the timestamp register and DMA
upload, instead enable the RTC tamper interrupt, and in the tamper
irq
routine, copy the value from the RTC CLOCK register to one
of the following destinations: SRAM, RTC GPx or BKUPx registers as the timestamp
value.
Name: | TIMESTAMP |
Offset: | 0x64 |
Reset: | 0 |
Property: | - |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| YEAR[5:0] | MONTH[3:2] | |
Access | R | R | R | R | R | R | R | R | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| MONTH[1:0] | DAY[4:0] | HOUR[4] | |
Access | R | R | R | R | R | R | R | R | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| HOUR[3:0] | MINUTE[5:2] | |
Access | R | R | R | R | R | R | R | R | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| MINUTE[1:0] | SECOND[5:0] | |
Access | R | R | R | R | R | R | R | R | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bits 31:26 – YEAR[5:0] Year
The year value is captured by the TIMESTAMP when a tamper condition
occurs.
Bits 25:22 – MONTH[3:0] Month
The month value is captured by the TIMESTAMP when a tamper
condition occurs.
Bits 21:17 – DAY[4:0] Day
The day value is captured by the TIMESTAMP when a tamper condition
occurs.
Bits 16:12 – HOUR[4:0] Hour
The hour value is captured by the TIMESTAMP when a tamper condition
occurs.
Bits 11:6 – MINUTE[5:0] Minute
The minute value is captured by the TIMESTAMP when a tamper
condition occurs.
Bits 5:0 – SECOND[5:0] Second
The second value is captured by the TIMESTAMP when a tamper
condition occurs.