Real-Time Clock
MCF52277 Reference Manual, Rev. 1
Freescale Semiconductor
26-7
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.
Table 26-8. RTC_ISR Field Descriptions
Field
Description
31–16
Reserved, must be cleared.
15–8
SAM
n
Sampling timer 7–0 interrupt flags. Indicates an interrupt has occurred at the corresponding sampling rate, equal
to or close to 2
n
+2
Hz depending on the combination of the RTC oscillator frequency and the programmed value in
RTC_GOC[31:9]. See
Section 26.4.3, “Sampling Timer,”
for more details.
0 No SAM7–0 interrupt has occurred
1 A SAM7–0 interrupt has occurred
7
2HZ
2 Hz interrupt flag. Indicates an interrupt has occurred. If enabled, this bit is set every half a second.
0 No interrupt has occurred
1 A 2 Hz interrupt has occurred
6
Reserved, must be cleared.
5
HR
Hour interrupt flag. If enabled, this bit is set on every increment of the hour counter in the RTC_HOURMIN register.
0 No interrupt has occurred
1 An hour interrupt has occurred
4
1HZ
1 Hz interrupt flag. If enabled, this bit is set on every increment of the second counter of the RTC_SECONDS
register.
0 No interrupt has occurred
1 A 1 Hz interrupt has occurred
3
DAY
Day interrupt flag. If enabled, this bit is set on every increment of the day counter in the RTC_DAYS register.
0 No interrupt has occurred
1 A day interrupt has occurred
2
ALM
Alarm interrupt flag. Indicates the real-time clock matches the value in the alarm registers plus one second. The
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
MIN
If enabled, this bit is set on every increment of the minute counter in the RTC_HOURMIN register.
0 No interrupt has occurred
1 A minute interrupt has occurred
0
SW
Stopwatch flag. Indicates that the stopwatch countdown timed out.
0 The stopwatch did not timeout
1 The stopwatch timed out
Summary of Contents for MCF52277
Page 22: ...MCF52277 Reference Manual Rev 1 Freescale Semiconductor xxii...
Page 32: ...MCF52277 Reference Manual Rev 0 xxxii Freescale Semiconductor...
Page 60: ...Signal Descriptions MCF52277 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 128: ...Static RAM SRAM MCF52277 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 140: ...Clock Module MCF52277 Reference Manual Rev 1 7 12 Freescale Semiconductor...
Page 172: ...Chip Configuration Module CCM MCF52277 Reference Manual Rev 1 9 16 Freescale Semiconductor...
Page 180: ...Serial Boot Facility SBF MCF52277 Reference Manual Rev 1 10 8 Freescale Semiconductor...
Page 188: ...Reset Controller Module MCF52277 Reference Manual Rev 1 11 8 Freescale Semiconductor...
Page 210: ...Crossbar Switch XBS MCF52277 Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 542: ...FlexCAN MCF52277 Reference Manual Rev 1 23 32 Freescale Semiconductor...
Page 724: ...UART Modules MCF52277 Reference Manual Rev 1 30 34 Freescale Semiconductor...
Page 740: ...I2 C Interface MCF52277 Reference Manual Rev 1 31 16 Freescale Semiconductor...
Page 790: ...Debug Module MCF52277 Reference Manual Rev 1 32 50 Freescale Semiconductor...