Datasheet

Chapter 13 Real-Time Counter (S08RTCV1)
MC9S08SG32 Data Sheet, Rev. 8
198 Freescale Semiconductor
13.1.3 Block Diagram
The block diagram for the RTC module is shown in Figure 13-2.
Figure 13-2. Real-Time Counter (RTC) Block Diagram
13.2 External Signal Description
The RTC does not include any off-chip signals.
13.3 Register Deļ¬nition
The RTC includes a status and control register, an 8-bit counter register, and an 8-bit modulo register.
Refer to the direct-page register summary in the memory section of this document for the absolute address
assignments for all RTC registers.This section refers to registers and control bits only by their names and
relative address offsets.
Table 13-1 is a summary of RTC registers.
Table 13-1. RTC Register Summary
Name
76543210
RTCSC
R
RTIF RTCLKS RTIE RTCPS
W
RTCCNT
R RTCCNT
W
RTCMOD
R
RTCMOD
W
Clock
Source
Select
Prescaler
Divide-By
8-Bit Counter
(RTCCNT)
8-Bit Modulo
(RTCMOD)
8-Bit Comparator
RTIF
RTIE
Background
V
DD
RTC
Interrupt
Request
D
Q
R
E
LPO
RTC
Clock
Mode
ERCLK
IRCLK
RTCLKS
Write 1 to
RTIF
RTCPS
RTCLKS[0]