![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 515](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847515.webp)
Writing to a register protected by the lock register does not generate a bus error, but the
write will not complete.
RTC memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
4003_D000 RTC Time Seconds Register (RTC_TSR)
32
R/W
0000_0000h
4003_D004 RTC Time Prescaler Register (RTC_TPR)
32
R/W
0000_0000h
4003_D008 RTC Time Alarm Register (RTC_TAR)
32
R/W
0000_0000h
4003_D00C RTC Time Compensation Register (RTC_TCR)
32
R/W
0000_0000h
4003_D010 RTC Control Register (RTC_CR)
32
R/W
0000_0000h
4003_D014 RTC Status Register (RTC_SR)
32
R/W
0000_0001h
4003_D018 RTC Lock Register (RTC_LR)
32
R/W
0000_00FFh
4003_D01C RTC Interrupt Enable Register (RTC_IER)
32
R/W
0000_0007h
32.3.1 RTC Time Seconds Register (RTC_TSR)
Address: 4003_D000h base + 0h offset = 4003_D000h
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
W
Reset
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RTC_TSR field descriptions
Field
Description
TSR
Time Seconds Register
When the time counter is enabled, the TSR is read only and increments once a second provided SR[TOF]
or SR[TIF] are not set. The time counter will read as zero when SR[TOF] or SR[TIF] are set. When the
time counter is disabled, the TSR can be read or written. Writing to the TSR when the time counter is
disabled will clear the SR[TOF] and/or the SR[TIF]. Writing to TSR with zero is supported, but not
recommended because TSR will read as zero when SR[TIF] or SR[TOF] are set (indicating the time is
invalid).
32.3.2 RTC Time Prescaler Register (RTC_TPR)
Address: 4003_D000h base + 4h offset = 4003_D004h
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
W
Reset
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Chapter 32 Real Time Clock (RTC)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Freescale Semiconductor, Inc.
515