10 STOPWaTCh TiMeR
10-6
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)
interrupt Function
10.7
10 hz and 1 hz interrupts
The 10 Hz and 1 Hz interrupts can be generated through the overflow of stopwatch timers SWD[7:4] and
SWD[11:8] respectively. Also, software can set whether to separately mask the frequencies described earlier.
Figure 10.7.1 is the timing chart for the counters.
10 Hz interrupt request
1 Hz interrupt request
FF4DH
(1/10 sec BCD)
FF4CH
(1/100 sec BCD)
D0
D1
D2
D3
D0
D1
D2
D3
Address
Register
Stopwatch timer (SWD[3:0]) timing chart
FF4BH
(1/1,000 sec BCD)
D0
D1
D2
D3
Address
Register
Stopwatch timer (SWD[7:4]) timing chart
Address
Register
Stopwatch timer (SWD[11:8]) timing chart
7.1 Timing chart for counters
Figure 10.
As shown in Figure 10.7.1, the interrupts are generated by the overflow of their respective counters ("9" chang-
ing to "0"). Also, at this time the corresponding interrupt factor flag (ISW10, ISW1) is set to "1."
The respective interrupts can be masked separately through the interrupt mask registers (EISW10, EISW1).
However, regardless of the setting of the interrupt mask registers, the interrupt factor flags are set to "1" by the
overflow of their corresponding counters.