NOTE
The RTC_CNTL must be read first to lock the counter and then
read RTC_CNTH to correctly read 16-bit counter.
Address: 306Ah base + 4h offset = 306Eh
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
RTC_CNTH field descriptions
Field
Description
CNTH
RTC Count High
CNTH and CNTL contain the current value of the 16-bit counter. Writes have no effect to this register.
Reset or writing different values to RTCLKS and RTCPS clear the count to 0x00.
13.3.6 RTC Counter Register: Low (RTC_CNTL)
RTC_CNTL, together with RTC_CNTH, indicates the read-only value of the current
RTC count of the 16-bit counter.
Address: 306Ah base + 5h offset = 306Fh
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
RTC_CNTL field descriptions
Field
Description
CNTL
RTC Count Low
CNTH and CNTL contain the current value of the 16-bit counter. Writes have no effect to this register.
Reset or writing different values to RTCLKS and RTCPS clear the count to 0x00.
13.4 Functional description
The RTC is composed of a main 16-bit up-counter with a 16-bit modulo register, a clock
source selector, and a prescaler block with binary-based and decimal-based selectable
values. The module also contains software selectable interrupt logic .
Functional description
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
264
NXP Semiconductors
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 ...