10-12
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
RTCA Stopwatch Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
RTCASWCTL
15
–
12
BCD10[3:0]
0x0
H0
R
–
11
–
8
BCD100[3:0]
0x0
H0
R
7
–
5
–
0x0
–
R
4
SWRST
0
H0
W
Read as 0.
3
–
1
–
0x0
–
R
–
0
SWRUN
0
H0
R/W
Bits 15
–
12 BCD10[3:0]
Bits 11
–
8
BCD100[3:0]
The 1/10-second and 1/100-second digits of the stopwatch counter can be read as a
BCD code from the RTCASWCTL.BCD10[3:0] bits and the RTCASWCTL.BCD100[3:0] bits,
respectively.
Note:
The counter value may not be read correctly while the stopwatch counter is running. The
RT- CASWCTL.BCD10[3:0]/BCD100[3:0] bits must be read twice and assume the counter
value was read successfully if the two read results are the same.
Bits 7
–
5
Reserved
Bit 4
SWRST
This bit resets the stopwatch counter to 0x00.
1 (W): Reset
0 (W): Ineffective
0 (R): Always 0 when being read
When the stopwatch counter in running status is reset, it continues counting from count
0x00. The stopwatch counter retains 0x00 if it is reset in idle status.
Bits 3
–
1
Reserved
Bit 0
SWRUN
This bit starts/stops the stopwatch counter.
1 (R/W): Running/start control
0 (R/W): Idle/stop control
When the stopwatch counter stops counting by writing 0 to this bit, the counter retains the
value when it stopped. Writing 1 to this bit again resumes counting from the value
retained.
Note
:
The stopwatch counter stops in sync with the stopwatch clock after 0 is written to the RT-
CASWCTL.SWRUN bit. Therefore, the counter value may be incremented (+1) from the
value at writing 0.
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...