0X5020-0X5023; Stopwatch Timer - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

APPENDIX A I/O REGISTER LIST
0x5020–0x5023
Register name Address
Bit
Stopwatch
0x5020
D7–5 –
Timer Control
(8 bits)
D4
Register
D3–1 –
(SWT_CTL)
D0
Stopwatch
0x5021
D7–4 BCD10[3:0] 1/10 sec. BCD counter value
Timer BCD
(8 bits)
D3–0 BCD100[3:0] 1/100 sec. BCD counter value
Counter Register
(SWT_BCNT)
Stopwatch
0x5022
D7–3 –
Timer Interrupt
(8 bits)
D2
Mask Register
D1
(SWT_IMSK)
D0
Stopwatch
0x5023
D7–3 –
Timer Interrupt
(8 bits)
D2
Flag Register
D1
(SWT_IFLG)
D0
318
Name
Function
reserved
SWTRST
Stopwatch timer reset
reserved
SWTRUN
Stopwatch timer run/stop control 1 Run
reserved
SIE1
1 Hz interrupt enable
SIE10
10 Hz interrupt enable
SIE100
100 Hz interrupt enable
reserved
SIF1
1 Hz interrupt flag
SIF10
10 Hz interrupt flag
SIF100
100 Hz interrupt flag
Setting
1 Reset
0 Ignored
0 Stop
0 to 9
0 to 9
1 Enable
0 Disable
1 Enable
0 Disable
1 Enable
0 Disable
1 Cause of
0 Cause of
interrupt
occurred
EPSON

Stopwatch Timer

Init. R/W
Remarks
0 when being read.
0
W
0
R/W
0
R
0
R
0 when being read.
0
R/W
0
R/W
0
R/W
0 when being read.
0
R/W Reset by writing 1.
interrupt not
0
R/W
occurred
0
R/W
S1C17001 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

Table of Contents