16 STOPWATCH TIMER (SWT)
S1C17001 TECHNICAL MANUAL
EPSON
197
0x5020: Stopwatch Timer Control Register (SWT_CTL)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
Stopwatch
Timer Control
Register
(SWT_CTL)
0x5020
(8 bits)
D7–5
–
reserved
–
–
–
0 when being read.
D4
SWTRST
Stopwatch timer reset
1 Reset
0 Ignored
0
W
D3–1
–
reserved
–
–
–
D0
SWTRUN
Stopwatch timer run/stop control
1 Run
0 Stop
0
R/W
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.
Summary of Contents for S1C17001
Page 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Page 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...