
S1C60N16 TECHNICAL MANUAL
EPSON
53
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stopwatch Timer)
4.10.4 Control of stopwatch timer
Table 4.10.4.1 list the stopwatch timer control bits and their addresses.
Table 4.10.4.1 Control bits of stopwatch timer
Address
Comment
D3
D2
Register
D1
D0
Name
Init 1
10
2E1H
SWL3
SWL2
SWL1
SWL0
R
SWL3
SWL2
SWL1
SWL0
0
MSB
Stopwatch timer 1/100 sec data (BCD)
LSB
2E2H
SWH3
SWH2
SWH1
SWH0
R
SWH3
SWH2
SWH1
SWH0
0
MSB
Stopwatch timer 1/10 sec data (BCD)
LSB
2EAH
IK1
IK0
SWIT1
SWIT0
R
IK1 4
IK0 4
SWIT1 4
SWIT0 4
0
Yes
No
Interrupt factor flag (K10)
Interrupt factor flag (K00–K03)
Interrupt factor flag (stopwatch 1 Hz)
Interrupt factor flag (stopwatch 10 Hz)
1
2
Initial value at initial reset
Not set in the circuit
3
4
Always "0" being read
Reset (0) immediately after being read
5 Undefined
2EEH
TMRST SWRUN SWRST
IOC0
WR/WWR/W
TMRST3
SWRUN
SWRST3
IOC0
Reset
0
Reset
0
Reset
Run
Reset
Output
–
Stop
–
Input
Clock timer reset
Stopwatch timer Run/Stop
Stopwatch timer reset
I/O control register 0 (P00–P03)
2E6H
HLMOD
0
EISWIT1 EISWIT0
R/W
R
R/W
HLMOD
0 3
EISWIT1
EISWIT0
0
– 2
0
Heavy load
–
Enable
Normal
–
Mask
Heavy load protection mode register (S1C60A16)
Unused
Interrupt mask register (stopwatch 1 Hz)
Interrupt mask register (stopwatch 10 Hz)
SWL0–SWL3: Stopwatch timer 1/100 sec (2E1H)
Data (BCD) of the 1/100 sec column of the stopwatch timer can be read out. These four bits are read-only,
and cannot be used for writing operations.
At initial reset, the timer data is set to "0H".
SWH0–SWH3: Stopwatch timer 1/10 sec (2E2H)
Data (BCD) of the 1/10 sec column of the stopwatch timer can be read out. These four bits are read-only,
and cannot be used for writing operations.
At initial reset, the timer data is set to "0H".
EISWIT0, EISWIT1: Interrupt mask registers (2E6HD0 and D1)
These registers are used to select whether to mask the stopwatch timer interrupt.
When "1" is written : Enabled
When "0" is written : Masked
Read-out : Valid
The interrupt mask registers (EISWIT0, EISWIT1) are used to separately select whether to mask the 10 Hz
and 1 Hz interrupts.
At initial reset, these registers are both set to "0".