Control Of Interrupts And Halt - Epson E0C6001 Technical Manual

Cmos 4-bit single chip microcomputer
Table of Contents

Advertisement

E0C6001 TECHNICAL SOFTWARE
Control of interrupts
and halt
II-40
The E0C6001 supports two types of a total of 7 interrupts.
There are three timer interrupts (2 Hz, 8 Hz, 32 Hz) and four
input interrupts (K00–K03).
The 7 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.
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.

Advertisement

Table of Contents
loading

Table of Contents