RM0082
BS_Real time clock
Doc ID 018672 Rev 1
355/844
20.2.6 DATE
register
The DATE is a RW register which defines the date (year, month, day) when the RTC can
start to count the time. The DATE register bit assignments are given in
Note:
All values in this DATE register are in binary-coded decimal (BCD) format.
20.2.7 ALARM
TIME
registers
The ALARM TIME is a RW register which defines a successive time, so that when the value
of TIME register is equal to the value set in this ALARM TIME register, an interrupt is
generated (if enabled, that is if IE bit in CONTROL register is set). The ALARM TIME
register bit assignments are given in
.
Note:
All values in this ALARM TIME register are in binary-coded decimal (BCD) format.
Table 305.
DATE register bit assignments
Bit
Name
Reset
value
Description
[31:28]
YM
Current year millenniums.
[27:24]
YH
Current year hundreds.
[23:20]
YT
Current year tens.
[19:16]
YU
Current year units.
[15]
Reserved
-
Read: undefined. Write: should be zero.
[14:12]
MT
Current month tens.
[11:08]
MU
Current month units.
[07:06]
Reserved
-
Read: undefined. Write: should be zero.
[05:04]
DT
Current day tens.
[03:00]
DU
Current day units.
Table 306.
ALARM TIME register bit assignments
Bit
Name
Reset
value
Description
[31:22]
Reserved
-
Read: undefined. Write: should be zero.
[21:20]
HT
Target hour tens.
[19:16]
HU
Target hour units.
[15]
Reserved
-
Read: undefined. Write: should be zero.
[14:12]
MT
Target minute tens.
[11:08]
MU
Target minute units.
[07]
Reserved
-
Read: undefined. Write: should be zero.
[06:04]
ST
Target second tens.
[03:00]
SU
Target second units.