MOTOROLA
104
MC68CK338
MC68CK338TS/D
6.11 Real-Time Clock Submodule (RTCSM) with Low-Power Oscillator
The real -ime clock submodule provides a real-time clock independent of other CTM6 submodules. This
time counter is driven by a dedicated low frequency oscillator (32.768 kHz) for low power consumption.
The RTCSM contains a 15-bit prescaler and a 32-bit free-running counter, from which seconds, min-
utes, hours and days can be determined. The RTCSM can also generate interrupts at one second
intervals. The low-power oscillator, prescaler, and counter portions of the RTCSM may be sustained by
a separate power supply (V
RTC
) for battery backup when V
DD
is off. The RTCSM and the low-power
oscillator can be disabled for minimum power consumption on V
RTC
when V
DD
is powered off. This is
useful for maximizing the shelf life of the standby battery. Refer to
6.14 RTCSM and RAMSM Standby
Operation
for more information.
One RTCSM is contained in the CTM6.
Figure 24
shows a block diagram of the RTCSM.
Table 64 DASMB Operations
Mode
DASMB Operation
DIS
DASMB can be accessed to prepare a value for a subsequent mode selection. In this mode, register
B1 is accessed in order to prepare a value for the OPWM mode. Unused register B2 is hidden and
cannot be read, but is written with the same value when register B1 is written.
DASMB contains the captured value corresponding to the trailing edge of the measured pulse. In this
mode, register B2 is accessed. Buffer register B1 is hidden and cannot be accessed.
DASMB contains the captured value corresponding to the most recently detected user-specified rising
or falling edge. In this mode, register B2 is accessed. Buffer register B1 is hidden and cannot be
accessed.
DASMB contains the captured value corresponding to the most recently detected user-specified rising
or falling edge. In this mode, register B2 is accessed. Buffer register B1 is hidden and cannot be
accessed.
DASMB is loaded with the value corresponding to the trailing edge of the pulse to be generated. Writing
to DASMB in the OCB and OCAB modes also enables the corresponding channel B comparator until
the next successful comparison. In this mode, register B2 is accessed. Buffer register B1 is hidden and
cannot be accessed.
DASMB is loaded with the value corresponding to the trailing edge of the pulse to be generated. Writing
to DASMB in the OCB and OCAB modes also enables the corresponding channel B comparator until
the next successful comparison. In this mode, register B2 is accessed. Buffer register B1 is hidden and
cannot be accessed.
DASMB is loaded with the value corresponding to the trailing edge of the PWM pulse to be generated.
In this mode, register B1 is accessed. Buffer register B2 is hidden and cannot be accessed
IPWM
IPM
IC
OCB
OCAB
OPWM