I-68
EPSON
S1C6S3N2 TECHNICAL HARDWARE
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stopwatch Counter)
The 10 Hz (approximate 10 Hz) and 1 Hz interrupts can be
generated through the overflow of stopwatch counters SWL
and SWH respectively. Also, software can set whether to
separately mask the frequencies described earlier.
Figure 4.9.3 is the timing chart for the stopwatch counter.
Interrupt function
Address
Address
Register
Register
Stopwatch counter (SWL) timing chart
Stopwatch counter (SWH) timing chart
10 Hz interrupt request
1 Hz interrupt request
072H
(1/10 sec BCD)
071H
(1/100 sec BCD)
D0
D1
D2
D3
D0
D1
D2
D3
Fig. 4.9.3
Timing chart for
stopwatch counter
As shown in Figure 4.9.3, the interrupts are generated by
the overflow of their respective counters ("9" changing to
"0"). Also, at this time the corresponding interrupt factor
flags (SWIT0, SWIT1) are set to "1".
The respective interrupts can be masked separately through
the interrupt mask registers (EISWIT0, EISWIT1). 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.
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......