RM0082
BS_Real time clock
Doc ID 018672 Rev 1
353/844
20.2.4 STATUS
register
The STATUS is a RW register (with some RO field) which indicates the status of the RTC
and allows to clear any pending interrupt. The STATUS register bit assignments are given in
Table 302.
CONTROL register bit assignments
Bit
Name
Reset
value
Description
[31]
IE
Interrupt event enable.
Setting this bit, interrupt event is enabled, and interrupts
generated by alarm logic are sent out (see ALARM TIME and
ALARM DATE registers).
[30:10]
Reserved
-
Read: undefined. Write: should be zero.
[09]
TB
Time bypass (for testing purpose only).
[08]
PB
Prescaler bypass (for testing purpose only).
[07:06]
Reserved
-
Read: undefined. Write: should be zero.
[05:00]
MASK
Force time-calendar comparisons.
Each bit of this 6 bit field allows to mask one time-calendar
element (seconds, minutes, hours, days, months, years),
according to encoding. The aim is to generate an interrupt for
any masked element, apart from actual matching of
programmed alarms.
[00] = Seconds.
[01] = Minutes.
[02] = Hours.
[03] = Days.
[04] = Months.
[05] = Years.
Table 303.
STATUS register bit assignments
Bit
Name
Reset
value
Type
Description
[31]
I
RW
Interrupt status.
Reading from this 1 bit field, the interrupt status returns.
Writing 1‘b1 to this bit clears any pending interrupts,
whereas there is no effect writing 1‘b0.
[30:06]
Reserved
-
-
Read: undefined. Write: should be zero.
[05]
LD
RO
Write to DATE register lost.
If a second write to DATE register is requested before
the first is completed, this second request is aborted and
the LD bit is set. This bit is cleared when a write to DATE
register is performed successfully.