SIC63616-(Rev. 1.0) NO. P93
3240-0412
EDIR: Direct input function enable register (FF48H•D0)
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)
Switches the direct-input key assignment for the P10 and P11 ports.
When "1" is written: P10 = LAP, P11 = RUN/STOP
When "0" is written: P10 = RUN/STOP, P11 = LAP
Reading: Valid
The direct-input key assignment is selected using this register. The P10 and P11 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".
DKM0–DKM2: Direct key mask select register (FF49H•D0–D2)
Selects a combination of the key inputs for concurrence judgment with RUN and LAP inputs when the
direct input function is set.
Table 4.8.8.2 Key mask selection
DKM2
0
0
0
0
1
1
1
1
DKM1
0
0
1
1
0
0
1
1
DKM0
0
1
0
1
0
1
0
1
Mask key combination
None (at initial reset)
P12
P12, P13
P12, P13, P40
P40
P40, P41
P40, P41, P42
P40, P41, P42, P43
When the concurrence is detected, RUN and LAP inputs cannot be accepted until the concurrence is
released.
At initial reset, this register is set to "0".
SWRST: Stopwatch timer reset (FF4AH•D0)
This bit resets the stopwatch timer.
When "1" is written: Stopwatch timer reset
When "0" is written: No operation
Reading: Always "0"
The stopwatch timer is reset when "1" is written to SWRST. When the stopwatch timer is reset in the RUN
status, operation restarts immediately. Also, in the STOP status the reset data is maintained.
Since this reset does not affect the capture buffer, the capture buffer data in hold status is not cleared and is
maintained.
This bit is write-only, and is always "0" at reading.
Содержание S1C63616
Страница 1: ...S1C63616 Technical Manual Rev 1 0 ...