SIC63616-(Rev. 1.0) NO. P92
3240-0412
4.8.8 I/O memory of stopwatch timer
Table 4.8.8.1 shows the I/O addresses and the control bits for the stopwatch timer.
Table 4.8.8.1 Control bits of stopwatch timer
D3
D2
D1
D0
Name Init
∗
1
1
0
Address
Comment
Register
FF16H
MDCKE SGCKE SWCKE RTCKE
R/W
MDCKE
SGCKE
SWCKE
RTCKE
0
0
0
0
Enable
Enable
Enable
Enable
Disable
Disable
Disable
Disable
Integer multiplier clock enable
Sound generator clock enable
Stopwatch timer clock enable
Clock timer clock enable
0
None
1
P12
2
P12–13
3
P12–13,40
[DKM2–0]
Key mask
4
P40
5
P40–41
6
P40–42
7
P40–43
[DKM2–0]
Key mask
Unused
Key mask
selection
FF48H
R
R/W
FF49H
0
DKM2
DKM1
DKM0
0
∗
3
DKM2
DKM1
DKM0
–
∗
2
0
0
0
R/W
W
R
FF4AH
LCURF CRNWF SWRUN SWRST
LCURF
CRNWF
SWRUN
SWRST
∗
3
0
0
0
Reset
Request
Renewal
Run
Reset
No
No
Stop
Invalid
Lap data carry-up request flag
Capture renewal flag
Stopwatch timer Run/Stop
Stopwatch timer reset (writing)
SWD7
SWD6
SWD5
SWD4
0
0
0
0
Stopwatch timer data
BCD (1/100 sec)
R
FF4CH
SWD7 SWD6 SWD5 SWD4
SWD11
SWD10
SWD9
SWD8
0
0
0
0
Stopwatch timer data
BCD (1/10 sec)
R
FF4DH
SWD11 SWD10 SWD9 SWD8
R
FF4BH
SWD3 SWD2 SWD1 SWD0
SWD3
SWD2
SWD1
SWD0
0
0
0
0
Stopwatch timer data
BCD (1/1000 sec)
0
0
SWDIR EDIR
R
R/W
0
∗
3
0
∗
3
SWDIR
EDIR
–
∗
2
–
∗
2
0
0
Enable Disable
Unused
Unused
Stopwatch direct input switch
0: P10=Run/Stop, P11=Lap 1: P10=Lap, P11=Run/Stop
Direct input enable
FFEDH
EIRUN EILAP EISW1 EISW10
R/W
EIRUN
EILAP
EISW1
EISW10
0
0
0
0
Enable
Enable
Enable
Enable
Mask
Mask
Mask
Mask
Interrupt mask register (Stopwatch direct RUN)
Interrupt mask register (Stopwatch direct LAP)
Interrupt mask register (Stopwatch timer 1 Hz)
Interrupt mask register (Stopwatch timer 10 Hz)
FFFDH
IRUN
ILAP
ISW1
ISW10
R/W
IRUN
ILAP
ISW1
ISW10
0
0
0
0
(R)
Yes
(W)
Reset
(R)
No
(W)
Invalid
Interrupt factor flag (Stopwatch direct RUN)
Interrupt factor flag (Stopwatch direct LAP)
Interrupt factor flag (Stopwatch timer 1 Hz)
Interrupt factor flag (Stopwatch timer 10 Hz)
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
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".
Содержание S1C63616
Страница 1: ...S1C63616 Technical Manual Rev 1 0 ...