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

Cmos 16-bit single chip microcontroller
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):
Disabled
0 (R):
Normally 0 when read out (default)
Writing 1 to this bit resets the counter to 0x0. When reset in Run state, the stopwatch timer restarts im-
mediately after resetting. The reset data 0x0 is retained when in Stop state.
D[3:1]
Reserved
D0
SWTRUN: Stopwatch Timer Run/Stop Control Bit
Controls the stopwatch timer Run/Stop.
1 (R/W): Run
0 (R/W): Stop (default)
The stopwatch timer starts counting when SWTRUN is written as 1 and stops when written as 0. The
counter data is retained at Stop state until a reset or the next Run state.
S1C17001 TECHNICAL MANUAL
Name
Function
reserved
SWTRST
Stopwatch timer reset
reserved
SWTRUN
Stopwatch timer run/stop control 1 Run
EPSON
16 STOPWATCH TIMER (SWT)
Setting
Init. R/W
1 Reset
0 Ignored
0 Stop
Remarks
0 when being read.
0
W
0
R/W
197

Advertisement

Table of Contents
loading

Table of Contents