Rtc Interrupt Enable Register (Rtc_Ier) - Freescale Semiconductor MCF52277 Reference Manual

Table of Contents

Advertisement

Field
31–16
Reserved, must be cleared.
15–8
Sampling timer 7–0 interrupt flags. Indicates an interrupt has occurred at the corresponding sampling rate, equal
SAMn
to or close to 2
RTC_GOC[31:9]. See
0 No SAM7–0 interrupt has occurred
1 A SAM7–0 interrupt has occurred
7
2 Hz interrupt flag. Indicates an interrupt has occurred. If enabled, this bit is set every half a second.
2HZ
0 No interrupt has occurred
1 A 2 Hz interrupt has occurred
6
Reserved, must be cleared.
5
Hour interrupt flag. If enabled, this bit is set on every increment of the hour counter in the RTC_HOURMIN register.
HR
0 No interrupt has occurred
1 An hour interrupt has occurred
4
1 Hz interrupt flag. If enabled, this bit is set on every increment of the second counter of the RTC_SECONDS
1HZ
register.
0 No interrupt has occurred
1 A 1 Hz interrupt has occurred
3
Day interrupt flag. If enabled, this bit is set on every increment of the day counter in the RTC_DAYS register.
DAY
0 No interrupt has occurred
1 A day interrupt has occurred
2
Alarm interrupt flag. Indicates the real-time clock matches the value in the alarm registers plus one second. The
ALM
alarm reoccurs every 65,536 days. For a single alarm, clear the interrupt enable for this bit in the interrupt service
routine.
0 No interrupt has occurred
1 An alarm interrupt has occurred
1
If enabled, this bit is set on every increment of the minute counter in the RTC_HOURMIN register.
MIN
0 No interrupt has occurred
1 A minute interrupt has occurred
0
Stopwatch flag. Indicates that the stopwatch countdown timed out.
SW
0 The stopwatch did not timeout
1 The stopwatch timed out
26.3.7

RTC Interrupt Enable Register (RTC_IER)

The RTC_IER register enables/disables the various real-time clock interrupts. Masking an interrupt bit has
no effect on its corresponding status bit.
Freescale Semiconductor
Table 26-8. RTC_ISR Field Descriptions
n+2
Hz depending on the combination of the RTC oscillator frequency and the programmed value in
Section 26.4.3, "Sampling Timer,"
MCF52277 Reference Manual, Rev. 1
Description
for more details.
Real-Time Clock
26-7

Advertisement

Table of Contents
loading

Table of Contents