10 STOPWaTCh TiMeR
10-8
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)
Address
Register name R/W Default
Setting/data
Function
FF4AH D3
lCuRF (
*
6)
R
0
1 Request
0 No
Lap data carry-up request flag
D2
CRnWF (
*
6)
R
0
1 Renewal
0 No
Capture renewal flag
D1
SWRun
R/W
0
1 Run
0 Stop
Stopwatch timer Run/Stop
D0
SWRST (
*
3)
W (Reset) 1 Reset
0 Invalid
Stopwatch timer reset (writing)
FF4BH D3
SWD3
R
0
0–9
Stopwatch timer data
BCD (1/1000 sec)
D2
SWD2
R
0
D1
SWD1
R
0
D0
SWD0
R
0
FF4CH D3
SWD7
R
0
0–9
Stopwatch timer data
BCD (1/100 sec)
D2
SWD6
R
0
D1
SWD5
R
0
D0
SWD4
R
0
FF4DH D3
SWD11
R
0
0–9
Stopwatch timer data
BCD (1/10 sec)
D2
SWD10
R
0
D1
SWD9
R
0
D0
SWD8
R
0
*
1 Initial value at initial reset
*
2 Not set in the circuit
*
3 Constantly "0" when being read
*
4 Unused in the S1C63003/004/008
*
5 Unused in the S1C63003/004
*
6 Unused in the S1C63003
SWCKe: Stopwatch timer clock enable register (FF16h•D1)
Controls the operating clock supply to the stopwatch timer.
When "1" is written: On
When "0" is written: Off
Reading: Valid
When "1" is written to SWCKE, the stopwatch timer operating clock is supplied from the clock manager. If it
is not necessary to run the stopwatch timer, stop the clock supply by setting SWCKE to "0" to reduce current
consumption. At initial reset, this register is set to "0."
eDiR: Direct input function enable register (FF48h•D0) – S1C63004/008/016
Enables the direct input (RUN/LAP) function.
When "1" is written: Enabled
When "0" is written: Disabled
Reading: Valid
The direct input function is enabled by writing "1" to EDIR, and then RUN/STOP and LAP control can be done by
external key input. When "0" is written, the direct input function is disabled, and the stopwatch timer is controlled
by the software only. Further the function switching is actually done by synchronizing with the falling edge of
f
OSC1
/32 (1,024 Hz) after the data is written to this register (after 977 µsec maximum). At initial reset, this register
is set to "0."
SWDiR: Direct input switch register (FF48h•D1) – S1C63004/008/016
Switches the direct-input key assignment for the P00 and P01 ports.
When "1" is written: P00 = LAP, P01 = RUN/STOP
When "0" is written: P00 = RUN/STOP, P01 = LAP
Reading: Valid
The direct-input key assignment is selected using this register. The P00 and P01 port statuses are input to the
stopwatch timer as the RUN/STOP and LAP inputs according to this selection. At initial reset, this register is set
to "0."
DKM[2:0]: Direct key mask select register (FF49h•D[2:0]) – S1C63004/008/016
Selects a combination of the key inputs for concurrence judgment with RUN and LAP inputs when the direct
input function is set.