Datasheet

14.4.1 RTC Status and Control Register 1 (RTC_SC1)
RTC_SC1 contains the real-time interrupt status flag (RTIF), and the toggle output
enable bit (RTCO).
Address: 306Ah base + 0h offset = 306Ah
Bit 7 6 5 4 3 2 1 0
Read
RTIF RTIE
0
RTCO
0
Write
Reset
0 0 0 0 0 0 0 0
RTC_SC1 field descriptions
Field Description
7
RTIF
Real-Time Interrupt Flag
This status bit indicates the RTC counter register reached the value in the RTC modulo register. Writing a
logic 0 has no effect. Writing a logic 1 clears the bit and the real-time interrupt request. Reset clears RTIF
to 0.
0 RTC counter has not reached the value in the RTC modulo register.
1 RTC counter has reached the value in the RTC modulo register.
6
RTIE
Real-Time Interrupt Enable
This read/write bit enables real-time interrupts. If RTIE is set, then an interrupt is generated when RTIF is
set. Reset clears RTIE to 0.
0 Real-time interrupt requests are disabled. Use software polling.
1 Real-time interrupt requests are enabled.
5
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
4
RTCO
Real-Time Counter Output
The read/write bit enables real-time to toggle output on pinout. If this bit is set, the RTCO pinout will be
toggled when RTC counter overflows.
0 Real-time counter output disabled.
1 Real-time counter output enabled.
3–0
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
Register definition
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
396 Freescale Semiconductor, Inc.