Real-Time Clock (RTC/API)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 1101
 
32.6.3 RTC Status Register (RTCS)
The RTCS register contains:
• RTC interrupt flag
• API interrupt flag
• ROLLOVR Flag
Figure 32-5. RTC Status Register (RTCS)
Table 32-3. RTCS field descriptions
Offset RTC_BASE + 0x0008 Access: User read/write
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
R RTC
F
W w1c
POR 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R API
F
ROV
RF
W w1c w1c
POR 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Field Description
2
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 interrupt
0 No RTC interrupt
Note: RTCF is not set if RTCVAL is 12'b0.
18
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
21
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.