Interrupt Function - Epson S1C63003 Technical Manual

Cmos 4-bit single chip microcontroller
Table of Contents

Advertisement

10 STOPWaTCh TiMeR
10.7

interrupt Function

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.
Address
Register
D0
D1
FF4BH
(1/1,000 sec BCD)
D2
D3
Address
Register
D0
D1
FF4CH
(1/100 sec BCD)
D2
D3
10 Hz interrupt request
Address
Register
D0
D1
FF4DH
(1/10 sec BCD)
D2
D3
1 Hz interrupt request
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.
10-6
Stopwatch timer (SWD[3:0]) timing chart
Stopwatch timer (SWD[7:4]) timing chart
Stopwatch timer (SWD[11:8]) timing chart
Figure 10.
7.1 Timing chart for counters
Seiko epson Corporation
S1C63003/004/008/016 TeChniCal Manual
(Rev. 1.1)

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c63004S1c63008S1c63016

Table of Contents