0X5020: Stopwatch Timer Control Register (Swt_Ctl) - Epson S1C17704 Technical Manual

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

0x5020: Stopwatch Timer Control Register (SWT_CTL)

Register name Address
Bit
Stopwatch
0x5020
D7–5 –
Timer Control
(8 bits)
D4
Register
D3–1 –
(SWT_CTL)
D0
D[7:5]
Reserved
D4
SWTRST: Stopwatch Timer Reset Bit
Resets the stopwatch timer.
1 (W):
Reset
0 (W):
Has no effect
0 (R):
Always 0 when read (default)
Writing 1 to this bit resets the counter to 0x0. When the stopwatch timer is reset in Run state, it restarts
immediately after resetting. In Stop state, the counter maintains 0x0.
D[3:1]
Reserved
D0
SWTRUN: Stopwatch Timer Run/Stop Control Bit
Starts/stops the stopwatch timer.
1 (R/W): Run
0 (R/W): Stop (default)
The stopwatch timer starts counting by writing 1 to SWTRUN and stops by writing 0. In Stop state, the
counter data is retained until the timer is reset or placed in a Run state.
S1C17704 TECHNICAL MANUAL
Name
Function
reserved
SWTRST
Stopwatch timer reset
reserved
SWTRUN
Stopwatch timer run/stop control
EPSON
16 STOPWATCH TIMER (SWT)
Setting
Init. R/W
1 Reset
0 Ignored
1 Run
0 Stop
Remarks
0 when being read.
0
W
0
R/W
16-9

Advertisement

Table of Contents
loading

Table of Contents