S1C6S3N2 TECHNICAL SOFTWARE
EPSON
II-87
CHAPTER 5: PERIPHERAL CIRCUITS (Stopwatch Counter)
Stopwatch Counter
The S1C6S3N2 Series incorporates a 1/100 sec and 1/10
sec stopwatch counter. The stopwatch counter data can be
read out by the software.
Further, the stopwatch counter can generate 10 Hz (ap-
proximated 10 Hz) and 1 Hz interrupts.
The stopwatch counter can be used as a separate timer from
the clock timer. In particular, digital watch stopwatch
functions can be realized easily with software.
5.9
Stopwatch counter
memory map
Table 5.9.1 I/O data memory map (stopwatch counter)
Address
Comment
Register
D3
D2
D1
D0
Name
0
07EH
SWRUN
SWRST
IOC0
Reset
0
Reset
0
Clock timer reset
Stopwatch counter RUN/STOP
Stopwatch counter reset
I/O control register 0 (P00–P03)
TMRST
W
R/W
W
R/W
Reset
RUN
Reset
Output
STOP
Input
071H
072H
SWL3
SWL2
SWL1
SWL0
SWH3
SWH2
SWH1
SWH0
R
R
SWL3
SWL2
SWL1
SWL0
0
0
0
0
MSB
Stopwatch counter
1/100 sec (BCD)
LSB
SWH3
SWH2
SWH1
SWH0
0
0
0
0
MSB
Stopwatch counter
1/10 sec (BCD)
LSB
SR
*1
1
TMRST
SWRUN
SWRST
IOC0
*5
*5
*
1 Initial value at the time of initial reset
*
2 Not set in the circuit
*
3 Undefined
*
4 Reset (0) immediately after being read
*
5 Constantly "0" when being read
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: ......