Specifications

Table Of Contents
S1C62740 TECHNICAL SOFTWARE EPSON II-39
CHAPTER 6: PERIPHERAL CIRCUITS (Stopwatch Timer)
Stopwatch Timer6.8
I/O data memory of
the stopwatch timer
The control registers of the stopwatch timer are shown in Table
6.8.1.
Table 6.8.1 Control registers of clock timer
*1 Initial value at the time of initial reset *5 Constantly "0" when being read
*2 Not set in the circuit *6 Refer to main manual
*3 Undefined *7 Page switching in I/O memory is not necessary
*4 Reset (0) immediately after being read
Control of the
stopwatch timer
The S1C62740 contains 1/100 sec and 1/10 sec stopwatch timers.
Starting, stopping, and resetting the timer can be controlled by
register.
Stopwatch timer data
This timer can be loaded in 4-bit units. It can be read out with
SWL (E7H) and SWH (E8H).
Stopwatch timer reset
By writing "1" on SWRST (E6H•D0), the stopwatch timer is reset
and stopwatch timer data (SWH, SWL) are set to "0".
Stopwatch timer RUN/STOP
By writing "1" on SWRUN (E6H•D1), the stopwatch timer is start-
ing. By writing "0" on SWRUN, then it stop counting.
Address
Comment
Register
D3 D2 D1 D0 Name Init 1 0
*1
C5H
ISW0
R
0
0
ISW1
ISW0
0
0
Yes
Yes
No
No
ISW100
*2
*2
*5
*5
*4
*4
*7
CBH
EISW0
R/W
0
0
EISW1
EISW0
0
0
Enable
Enable
Mask
Mask
EISW10
*2
*2
*5
*5
Unused
Unused
Interrupt mask register (stopwatch 1 Hz)
Interrupt mask register (stopwatch 10 Hz)
Unused
Unused
Interrupt factor flag (stopwatch 1 Hz)
Interrupt factor flag (stopwatch 10 Hz)
0
R
E6H
SWRST
R
0
0
SWRUN
SWRST
0
Reset
Run
Reset
Stop
SWRUN
00
*2
*2
*5
*5
*5
E7H
SWL0
SWL3
SWL2
SWL1
SWL0
0
0
0
0
SWL1SWL2SWL3
E8H
SWH0
SWH3
SWH2
SWH1
SWH0
0
0
0
0
SWH1SWH2SWH3
R
Unused
Unused
Stopwatch timer Run/Stop
Stopwatch timer reset
R/W
R
Stopwatch timer data 1/10 sec (BCD)
MSB
LSB
W
Stopwatch timer data 1/100 sec (BCD)
MSB
LSB