Programming Notes - Epson S1C88650 Technical Manual

Hewlett-packard cmos 8-bit single chip microcomputer technical manual
Table of Contents

Advertisement

5.9.4 Programming notes

(1) The clock timer is actually made to RUN/STOP
in synchronization with the falling edge of the
256 Hz signal after writing to the TMRUN
register. Consequently, when "0" is written to
the TMRUN, the timer shifts to STOP status
when the counter is incremented "1". The
TMRUN maintains "1" for reading until the
timer actually shifts to STOP status.
Figure 5.9.4.1 shows the timing chart of the
RUN/STOP control.
256 Hz
TMRUN(RD)
TMRUN(WR)
TMDX
57H
Fig. 5.9.4.1 Timing chart of RUN/STOP control
(2) The SLP instruction is executed when the clock
timer is in the RUN status (TMRUN = "1"). The
clock timer operation will become unstable
when returning from SLEEP status. Therefore,
when shifting to SLEEP status, set the clock
timer to STOP status (TMRUN = "0") prior to
executing the SLP instruction.
S1C88650 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Clock Timer)
58H 59H 5AH 5BH
5CH
EPSON
85

Advertisement

Table of Contents
loading

Table of Contents