Register Definition; Rtc Status And Control Register 1 (Rtc_Sc1) - Freescale Semiconductor MC9S08PT60 Reference Manual

Table of Contents

Advertisement

14.4 Register definition

The RTC includes a status and control register, a 16-bit counter register, and a 16-bit
modulo register.
Absolute
address
(hex)
306A

RTC Status and Control Register 1 (RTC_SC1)

306B
RTC Status and Control Register 2 (RTC_SC2)
306C
RTC Modulo Register: High (RTC_MODH)
306D
RTC Modulo Register: Low (RTC_MODL)
306E
RTC Counter Register: High (RTC_CNTH)
306F
RTC Counter Register: Low (RTC_CNTL)
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
Read
RTIF
Write
Reset
0
Field
7
Real-Time Interrupt Flag
RTIF
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
Real-Time Interrupt Enable
RTIE
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.
Freescale Semiconductor, Inc.
RTC memory map
Register name
6
5
0
RTIE
RTCO
0
0
RTC_SC1 field descriptions
Table continues on the next page...
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
Chapter 14 Real-time counter (RTC)
Width
Access
(in bits)
8
R/W
8
R/W
8
R/W
8
R/W
8
R
8
R
4
3
2
0
0
0
Description
Section/
Reset value
page
00h
14.4.1/407
00h
14.4.2/408
00h
14.4.3/409
00h
14.4.4/409
00h
14.4.5/410
00h
14.4.6/410
1
0
0
0
0
407

Advertisement

Table of Contents
loading

Table of Contents