Epson S1C63003 Technical Manual page 85

Cmos 4-bit single chip microcontroller
Table of Contents

Advertisement

10 STOPWaTCh TiMeR
Address
Register name R/W Default
FF4AH D3 lCuRF (*6)
D2 CRnWF (*6)
D1 SWRun
R/W
D0 SWRST (*3)
FF4BH D3 SWD3
D2 SWD2
D1 SWD1
D0 SWD0
FF4CH D3 SWD7
D2 SWD6
D1 SWD5
D0 SWD4
FF4DH D3 SWD11
D2 SWD10
D1 SWD9
D0 SWD8
*1 Initial value at initial reset
*4 Unused in the S1C63003/004/008
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
/32 (1,024 Hz) after the data is written to this register (after 977 µsec maximum). At initial reset, this register
OSC1
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.
10-8
Setting/data
R
0
1 Request
R
0
1 Renewal
0
1 Run
W
(Reset) 1 Reset
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
R
0
*2 Not set in the circuit
*5 Unused in the S1C63003/004
Seiko epson Corporation
0 No
Lap data carry-up request flag
0 No
Capture renewal flag
0 Stop
Stopwatch timer Run/Stop
0 Invalid
Stopwatch timer reset (writing)
Stopwatch timer data
BCD (1/1000 sec)
0–9
Stopwatch timer data
BCD (1/100 sec)
0–9
Stopwatch timer data
BCD (1/10 sec)
0–9
*3 Constantly "0" when being read
*6 Unused in the S1C63003
S1C63003/004/008/016 TeChniCal Manual
Function
(Rev. 1.1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c63004S1c63008S1c63016

Table of Contents