MPC5604B/C Microcontroller Reference Manual, Rev. 8
Freescale Semiconductor 249
13.5.3 RTC Status Register (RTCS)
The RTCS register contains:
• RTC interrupt flag
• API interrupt flag
• ROLLOVR Flag
Offset: 0x8 Access: User read/write
0 1 2 3 4 5 6 7 8 9 101112131415
R 0 0
RTCF
0 0 0 0 0 0 0 0 0 0 0 0 0
W
Reset0000000000000000
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R 0 0
APIF
0 0
ROVRF
0 0 0 0 0 0 0 0 0 0
W
Reset0000000000000000
Figure 13-5. RTC Status Register (RTCS)
Table 13-4. RTCS field descriptions
Field Description
RTCF RTC Interrupt Flag
The RTCF bit indicates that the RTC counter has reached the counter value matching RTCVAL.
RTCF is cleared by writing a 1 to RTCF. Writing a 0 to RTCF has no effect.
1 RTC counter matches RTCVAL
0 RTC counter is not equal to RTCVAL
APIF API Interrupt Flag
The APIF bit indicates that the RTC counter has reached the counter value matching API offset
value. APIF is cleared by writing a 1 to APIF. Writing a 0 to APIF has no effect.
1 API interrupt
0 No API interrupt
Note: The periodic interrupt comes after APIVAL[0:9] + 1’b1 RTC counts
ROVRF Counter Roll Over Interrupt Flag
The ROVRF bit indicates that the RTC has rolled over from 0xffff_ffff to 0x0000_0000. ROVRF is
cleared by writing a 1 to ROVRF.
1 RTC has rolled over
0 RTC has not rolled over