RTC_SC1 field descriptions (continued)
Field
Description
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
RTCO
Real-Time Counter Output
The read/write bit enables real-time to toggle output on pinout. If this bit is set, the RTCO pinout will be
toggled when RTC counter overflows.
0
Real-time counter output disabled.
1
Real-time counter output enabled.
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
14.4.2 RTC Status and Control Register 2 (RTC_SC2)
RTC_SC2 contains the clock select bits (RTCLKS) and the prescaler select bits
(RTCPS).
Address: 306Ah base + 1h offset = 306Bh
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
RTC_SC2 field descriptions
Field
Description
7–6
RTCLKS
Real-Time Clock Source Select
These two read/write bits select the clock source input to the RTC prescaler. Changing the clock source
clears the prescaler and RTCCNT counters. Reset clears RTCLKS to 00.
00
External clock source.
01
Real-time clock source is 1 kHz.
10
Bus clock.
11
Bus clock.
5–3
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
RTCPS
Real-Time Clock Prescaler Select
These four read/write bits select binary-based or decimal-based divide-by values for the clock source.
Changing the prescaler value clears the prescaler and RTCCNT counters. Reset clears RTCPS to 0000.
000
Off
001
If RTCLKS = x0, it is 1; if RTCLKS = x1, it is 128.
Table continues on the next page...
Register definition
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
408
Freescale Semiconductor, Inc.
Содержание MC9S08PT60
Страница 2: ...MC9S08PT60 Reference Manual Rev 4 08 2014 2 Freescale Semiconductor Inc...
Страница 34: ...MC9S08PT60 Reference Manual Rev 4 08 2014 34 Freescale Semiconductor Inc...
Страница 40: ...System clock distribution MC9S08PT60 Reference Manual Rev 4 08 2014 40 Freescale Semiconductor Inc...
Страница 120: ...Flash and EEPROM registers descriptions MC9S08PT60 Reference Manual Rev 4 08 2014 120 Freescale Semiconductor Inc...
Страница 200: ...Port data registers MC9S08PT60 Reference Manual Rev 4 08 2014 200 Freescale Semiconductor Inc...
Страница 228: ...System clock gating control registers MC9S08PT60 Reference Manual Rev 4 08 2014 228 Freescale Semiconductor Inc...
Страница 262: ...Human machine interfaces HMI MC9S08PT60 Reference Manual Rev 4 08 2014 262 Freescale Semiconductor Inc...
Страница 298: ...Functional Description MC9S08PT60 Reference Manual Rev 4 08 2014 298 Freescale Semiconductor Inc...
Страница 396: ...FTM Interrupts MC9S08PT60 Reference Manual Rev 4 08 2014 396 Freescale Semiconductor Inc...
Страница 440: ...Functional description MC9S08PT60 Reference Manual Rev 4 08 2014 440 Freescale Semiconductor Inc...
Страница 468: ...Initialization Application Information MC9S08PT60 Reference Manual Rev 4 08 2014 468 Freescale Semiconductor Inc...
Страница 570: ...Application information MC9S08PT60 Reference Manual Rev 4 08 2014 570 Freescale Semiconductor Inc...
Страница 648: ...Memory map and register description MC9S08PT60 Reference Manual Rev 4 08 2014 648 Freescale Semiconductor Inc...
Страница 676: ...Resets MC9S08PT60 Reference Manual Rev 4 08 2014 676 Freescale Semiconductor Inc...