RTC memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
306A
RTC Status and Control Register 1 (RTC_SC1)
8
R/W
00h
306B
RTC Status and Control Register 2 (RTC_SC2)
8
R/W
00h
306C
RTC Modulo Register: High (RTC_MODH)
8
R/W
00h
306D
RTC Modulo Register: Low (RTC_MODL)
8
R/W
00h
306E
RTC Counter Register: High (RTC_CNTH)
8
R
00h
306F
RTC Counter Register: Low (RTC_CNTL)
8
R
00h
13.3.1 RTC Status and Control Register 1 (RTC_SC1)
RTC_SC1 contains the real-time interrupt status flag (RTIF).
Address: 306Ah base + 0h offset = 306Ah
Bit
7
6
5
4
3
2
1
0
Read
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
Reserved
This field is reserved.
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
Chapter 13 Real-time counter (RTC)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
261
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...