II-88
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 5: PERIPHERAL CIRCUITS (Stopwatch Counter)
SWRST
: Stopwatch counter reset (07EH.D1)
This bit resets the stopwatch counter.
When "1" is written:
Stopwatch counter reset
When "0" is written:
No operation
Read-out:
Always "0"
(1) Resetting, starting and stopping the stopwatch counter
Controlling procedure for the initial start, stop, start, and
reset of the stopwatch counter is sequentially indicated.
LD
X,7EH
;
OR
MX,0110B
;
;
LD
X,7EH
;
OR
MX,0010B
;
;
LD
X,7EH
;
AND
MX,1011B
;
;
LD
X,7EH
;
OR
MX,0100B
;
Initial start the stopwatch counter
Reset the stopwatch counter
Stop the stopwatch counter
Restart the stopwatch counter
1. Resetting the stopwatch counter does not affect the clock
timer.
2. When the stopwatch counter is reset in RUN status,
operation restarts immediately. Also, in STOP status the
reset data is maintained.
3. In STOP status, the counter data is maintained until
reset or next RUN status occurs. Also, when STOP status
changes to RUN status, the data that was maintained can
be used for resuming the count.
Example of program
for stopwatch coun-
ter
Specifications
Program
Notes
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......