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
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...