RTC_SS
20.3.5.15 RTC_STATUS_REG Register (offset = 44h) [reset = 0h]
RTC_STATUS_REG is shown in
and described in
.
The RTC_STATUS_REG contains bits that signal the status of interrupts, events to the processor. Status
for the alarm interrupt and timer events are notified by the register. The alarm interrupt keeps its low level
until the ARM writes 1 in the ALARM bit of the RTC_STATUS_REG register. ALARM2: This bit will
indicate the status of the alarm interrupt. Writing a 1 to the bit clears the interrupt. ALARM: This bit will
indicate the status of the alarm interrupt. Writing a 1 to the bit clears the interrupt. ONE_DAY_EVENT1:
This bit will indicate if a day event has occurred. An interrupt will be generated to the processor based on
the masking of the interrupt controller. ONE_HR_EVENT1: This bit will indicate if an hour event has
occurred. An interrupt will be generated to the processor based on the masking of the interrupt controller.
ONE_MIN_EVENT1: This bit will indicate if a minute event has occurred. An interrupt will be generated to
the processor based on the masking of the interrupt controller. ONE_SEC_EVENT1: This bit will indicate if
a second event has occurred. An interrupt will be generated to the processor based on the masking of the
interrupt controller. RUN: This bit will indicate if RTC is frozen or it is running. The RUN bit shows the real
state of the RTC. Indeed, because the STOP_RTC signal is resynchronized on 32-kHz clock the action of
this bit is delayed. BUSY: This bit will give the status of RTC module. The Time and alarm registers can
be modified only when this bit is 0. The timer interrupt is a negative edge sensitive low-level pulse (1 OCP
cycle duration).
Figure 20-75. RTC_STATUS_REG Register
31
30
29
28
27
26
25
24
Reserved
R-0h
23
22
21
20
19
18
17
16
Reserved
R-0h
15
14
13
12
11
10
9
8
Reserved
R-0h
7
6
5
4
3
2
1
0
ALARM2
ALARM
ONE_DAY_EVENT
ONE_HR_EVENT
ONE_MIN_EVENT
ONE_SEC_EVENT
RUN
BUSY
R/W-0h
R/W-0h
R-0h
R-0h
R-0h
R-0h
R-0h
R-0h
LEGEND: R/W = Read/Write; R = Read only; W1toCl = Write 1 to clear bit; -n = value after reset
Table 20-78. RTC_STATUS_REG Register Field Descriptions
Bit
Field
Type
Reset
Description
31-8
Reserved
R
0h
7
ALARM2
R/W
0h
Indicates that an alarm2 interrupt has been generated.
Software needs to wait 31 us before it clears this status to allow
pmic_pwr_enable 1->0 transition.
6
ALARM
R/W
0h
Indicates that an alarm interrupt has been generated
5
ONE_DAY_EVENT
R
0h
One day has occurred
4
ONE_HR_EVENT
R
0h
One hour has occurred
3
ONE_MIN_EVENT
R
0h
One minute has occurred
2
ONE_SEC_EVENT
R
0h
One second has occurred
1
RUN
R
0h
RTC is frozen or is running.
0x0 = RTC is frozen
0x1 = RTC is running
0
BUSY
R
0h
Status of RTC module.
0x0 = Updating event in more than 15 s
0x1 = Updating event
3649
SPRUH73H – October 2011 – Revised April 2013
Timers
Copyright © 2011–2013, Texas Instruments Incorporated