Interrupt Function And Input Comparison Register - Epson 0C88832 Technical Manual

Cmos 8-bit single chip microcomputer
Table of Contents

Advertisement

5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Input Ports)
5.4.3 Interrupt function and input
comparison register
Input port K00–K07 and K10 are all equipped with
an interrupt function. These input ports are divided
into three groupings: K00–K03 (K0L), K04–K07
(K0H) and K10 (K1). Furthermore, the interrupt
generation condition for each series of terminals
can be set by software.
When the interrupt generation condition set for
each series of terminals is met, the interrupt factor
flag FK0L, FK0H or FK1 corresponding to the
applicable series is set at "1" and an interrupt is
generated.
K00
Input port
K00D
Input comparison
register KCP00
Address
Interrupt selection
register SIK00
Address
K01
K02
K03
K04
Input port
K04D
Input comparison
register KCP04
Address
Interrupt selection
register SIK04
Address
K05
K06
K07
K10
Input port
K10D
Input comparison
register KCP10
Address
Interrupt selection
register SIK10
Address
34
Fig. 5.4.3.1 Configuration of input interrupt circuit
Interrupt can be prohibited by setting the interrupt
enable registers EK0L, EK0H and EK1 for the
corresponding interrupt factor flags.
Furthermore, the priority level for input interrupt
can be set at the desired level (0–3) using the
interrupt priority registers PK00–PK01 and PK10–
PK11 corresponding to each of two groups K0x
(K00–K07) and K10.
For details on the interrupt control registers for the
above and on operations subsequent to interrupt
generation, see "5.14 Interrupt and Standby Status".
The exception processing vectors for each interrupt
factor are set as follows:
K10 input interrupt:
K04–K07 input interrupt: 00000CH
K00–K03 input interrupt: 00000EH
Figure 5.4.3.1 shows the configuration of the input
interrupt circuit.
Interrupt factor
flag FK0L
Address
Interrupt enable
register EK0L
Address
Interrupt
priority
register
PK00, PK01
Address
Interrupt factor
flag FK0H
Address
Interrupt enable
register EK0H
Address
Interrupt factor
flag FK1
Address
Interrupt enable
register EK1
Address
EPSON
00000AH
Interrupt priority
Interrupt
level judgement
request
circuit
Interrupt priority
Interrupt
level judgement
request
circuit
Interrupt
priority
register
PK10, PK11
Address
E0C88832/88862 TECHNICAL MANUAL

Advertisement

Table of Contents
loading

This manual is also suitable for:

88862

Table of Contents