Specifications

Table Of Contents
S1C62740 TECHNICAL HARDWARE EPSON I-61
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stopwatch Timer)
SWRUN:
Stopwatch timer RUN/STOP
(E6HD1)
This bit controls RUN/STOP of the stopwatch timer.
When "1" is written: RUN
When "0" is written: STOP
Reading: Valid
The stopwatch timer enters the RUN status when "1" is written to
SWRUN, and the STOP status when "0" is written.
In the STOP status, the timer data is maintained until the next
RUN status or resets timer. Also, when the STOP status changes to
the RUN status, the data that was maintained can be used for
resuming the count.
At initial reset, this register is set to "0".
(1) Be sure to data reading in the order of low-order data (SWL0–
SWL3) then high-order data (SWH0–SWH3).
(2) When the stopwatch timer has been reset, the interrupt factor
flag (ISW) may sometimes be set to "1". Consequently, perform
flag reading (reset the flag) as necessary at reset.
(3) Write the interrupt mask register (EISW) only in the DI status
(interrupt flag = "0"). Writing during EI status (interrupt flag =
"1") will cause malfunction.
(4) Reading of interrupt factor flags is available at EI, but be careful
in the following cases.
If the interrupt mask register value corresponding to the inter-
rupt factor flags to be read is set to "1", an interrupt request will
be generated by the interrupt factor flags set timing, or an
interrupt request will not be generated. Be very careful when
interrupt factor flags are in the same address.
Programming notes