5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Stopwatch Timer)
5.9.4 Control of stopwatch timer
Table 5.9.4.1 shows the stopwatch timer control bits.
Address Bit
Name
00FF42 D7
–
–
D6
–
–
D5
–
–
D4
–
–
D3
–
–
D2
–
–
D1
SWRST
Stopwatch timer reset
D0
SWRUN
Stopwatch timer Run/Stop control
00FF43 D7
SWD7
Stopwatch timer data
D6
SWD6
D5
SWD5
BCD (1/10 sec)
D4
SWD4
D3
SWD3
Stopwatch timer data
D2
SWD2
D1
SWD1
BCD (1/100 sec)
D0
SWD0
00FF20 D7
PK01
K00–K07 interrupt priority register
D6
PK00
D5
PSIF1
Serial interface interrupt priority register
D4
PSIF0
D3
PSW1
Stopwatch timer interrupt priority register
D2
PSW0
D1
PTM1
Clock timer interrupt priority register
D0
PTM0
00FF22 D7
–
–
D6
ESW100
Stopwatch timer 100 Hz interrupt enable register
D5
ESW10
Stopwatch timer 10 Hz interrupt enable register
D4
ESW1
Stopwatch timer 1 Hz interrupt enable register
D3
ETM32
Clock timer 32 Hz interrupt enable register
D2
ETM8
Clock timer 8 Hz interrupt enable register
D1
ETM2
Clock timer 2 Hz interrupt enable register
D0
ETM1
Clock timer 1 Hz interrupt enable register
00FF24 D7
–
–
D6
FSW100
Stopwatch timer 100 Hz interrupt factor flag
D5
FSW10
Stopwatch timer 10 Hz interrupt factor flag
D4
FSW1
Stopwatch timer 1 Hz interrupt factor flag
D3
FTM32
Clock timer 32 Hz interrupt factor flag
D2
FTM8
Clock timer 8 Hz interrupt factor flag
D1
FTM2
Clock timer 2 Hz interrupt factor flag
D0
FTM1
Clock timer 1 Hz interrupt factor flag
74
Table 5.9.4.1 Stopwatch timer control bits
Function
EPSON
1
0
SR R/W
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Reset
No operation
0
Run
Stop
0
0
0
0
0
0
0
0
0
0
PK01
PK00
PSIF1
PSIF0
0
PSW1
PSW0
Priority
0
PTM1
PTM0
level
1
1
Level 3
0
1
0
Level 2
0
0
1
Level 1
0
0
Level 0
0
0
–
–
–
0
0
0
Interrupt
Interrupt
0
enable
disable
0
0
0
–
–
–
0
(R)
(R)
0
Interrupt
No interrupt
0
factor is
factor is
0
generated
generated
0
(W)
(W)
0
Reset
No operation
0
E0C88832/88862 TECHNICAL MANUAL
Comment
Constantly "0" when
being read
W
R/W
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
"0" when being read
R/W
R/W
R/W
R/W
R/W
R/W
R/W
"0" when being read
R/W
R/W
R/W
R/W
R/W
R/W
R/W