Specifications

S1C62N82 TECHNICAL SOFTWARE EPSON II-73
CHAPTER 3: PERIPHERAL CIRCUITS (Interrupt and Halt)
The S1C62N82 supports four types of a total of 11 inter-
rupts. There are three timer interrupts (2 Hz, 8 Hz, 32 Hz),
two stopwatch interrupts (1 Hz, 10 Hz), five input interrupts
(K00–K03, K10) and one melody interrupt.
The 11 interrupts are individually enabled or masked (dis-
abled) by interrupt mask registers. The EI and DI instruc-
tions can be used to set or reset the interrupt flag (I), which
enables or disables all the interrupts at the same time.
Individual vector addresses are assigned to the four types of
interrupt. The priority of the interrupts is determined by the
hardware. The priority of the 2 Hz, 8 Hz, and 32 Hz timer
interrupts where the vector address is the same is deter-
mined by the software. The priority of the stopwatch inter-
rupts between 1 Hz and 10 Hz is also determined by soft-
ware.
When an interrupt is accepted, the interrupt flag (I) is reset,
and cannot accepts any other interrupts (DI state).
Restart from the halt state created by the HALT instruction,
is done by interrupt.
Control of interrupts
and halt