beautypg.com

Key input interrupt – Epson S1C33210 User Manual

Page 375

background image

III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS

S1C33210 FUNCTION PART

EPSON

B-III-9-13

Key Input Interrupt

The key input interrupt circuit has two interrupt systems (FPK1 and FPK0) and a port group can be selected for
generating each interrupt factor.
The interrupt condition can also be set by software.
Figure 9.4 shows the configuration of the port input interrupt circuit.

Internal data bus

CP0, P04, P24

CP4, K63, P03, P23

K52, K62, P02, P22

K50
K60
P00
P20

Input comparison

register SCPK0

Input mask

register SMPK0

Address

Address

K51, K61, P01, P21

K50, K60, P00, P20

Input port selection

SPPK0

FPK0
Interrupt
request

Interrupt signal

generation

FPK0 system

K63, CP3, P07, P27

K62, CP2, P06, P26

K60
CP0
P04
P24

Input comparison

register SCPK1

Input mask

register SMPK1

Address

Address

K61, CP1, P05, P25

K60, CP0, P04, P24

Input port selection

SPPK1

FPK1
Interrupt
request

Interrupt signal

generation

FPK1 system

Figure 9.4 Configuration of Key Input Interrupt Circuit