MC9S08QE128 MCU Series Reference Manual, Rev. 2
Freescale Semiconductor
237
Chapter 13
Real-Time Counter (S08RTCV1)
13.1
Introduction
The real-time counter (RTC) consists of one 8-bit counter, one 8-bit comparator, several binary-based and
decimal-based prescaler dividers, three clock sources, and one programmable periodic interrupt. This
module can be used for time-of-day, calendar, or any task scheduling functions. It can also serve as a cyclic
wake up from low power modes without the need of external components.
13.1.1
ADC Hardware Trigger
The RTC can be enabled as a hardware trigger for the ADC module by setting ADCSC2[ADTRG]. When
enabled, the ADC is triggered each time RTCINT matches RTCMOD. The RTC interrupt does not have to
be enabled to trigger the ADC.
13.1.2
RTC Clock Sources
The RTC module on MC9S08QE128 Series can be clocked from ICSIRCLK, OSCOUT, or the LPO.
In this chapter, ERCLK is replaced by OSCOUT for this MCU.
13.1.3
RTC Modes of Operation
All clock sources are available in all modes except stop2. The OSCOUT and LPO can be enabled as the
clock source of the RTC in stop2.
13.1.3.1
RTC Status after Stop2 Wakeup
The registers associated with the RTC are unaffected after a stop2 wakeup.
13.1.3.2
Clocks in Stop Modes
In the
MC9S08QE128
Series, LPO and OSCOUT can be used in stop2 and stop3. IRCLK is available only
in stop3.
13.1.4
RTC Clock Gating
The bus clock to the RTC can be gated on and off with SCGC2[RTC]. This bit is set after any reset, which
enables the bus clock to this module. To conserve power, the RTC bit can be cleared to disable the clock
to this module when not in use. See
Section 5.7, “Peripheral Clock Gating,”
for details.
Содержание MC9S08QE128
Страница 2: ......
Страница 4: ......
Страница 49: ...Chapter 3 Modes of Operation MC9S08QE128 MCU Series Reference Manual Rev 2 50 Freescale Semiconductor ...
Страница 138: ...Chapter 6 Parallel Input Output Control MC9S08QE128 MCU Series Reference Manual Rev 2 138 Freescale Semiconductor ...
Страница 144: ...Chapter 7 Keyboard Interrupt S08KBIV2 MC9S08QE128 MCU Series Reference Manual Rev 2 144 Freescale Semiconductor ...
Страница 166: ...Chapter 8 Central Processor Unit S08CPUV4 MC9S08QE128 MCU Series Reference Manual Rev 2 166 Freescale Semiconductor ...
Страница 174: ...MC9S08QE128 MCU Series Reference Manual Rev 2 174 Freescale Semiconductor Analog Comparator S08ACMPV3 ...
Страница 202: ...12 bit Analog to Digital Converter S08ADCV1 MC9S08QE128 MCU Series Reference Manual Rev 2 202 Freescale Semiconductor ...
Страница 282: ...Serial Peripheral Interface S08SPIV3 MC9S08QE128 MCU Series Reference Manual Rev 2 282 Freescale Semiconductor ...
Страница 306: ...Timer PWM Module S08TPMV3 MC9S08QE128 MCU Series Reference Manual Rev 2 306 Freescale Semiconductor ...
Страница 320: ...Development Support MC9S08QE128 MCU Series Reference Manual Rev 2 320 Freescale Semiconductor ...