Input Interrupt; Port Input Interrupt - Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS

Input Interrupt

The input ports and the I/O ports support eight system of port input interrupts and two systems of key input
interrupts.

Port Input Interrupt

The port input interrupt circuit has eight interrupt systems (FPT7–FPT0) and a port can be selected for generating
each interrupt factor.
The interrupt condition can also be selected from between input signal edge and input signal level.
Figure 9.3 shows the configuration of the port input interrupt circuit.
K67
P33
P07
P27
Input port selection
Address
Address
FPT7
FPT6
FPT5
FPT4
Selecting input pins
The interrupt factors allows selection of an input pin from the four predefined pins independently.
Table 9.5 shows the control bits and the selectable pins for each factor.
Interrupt
factor
FPT7
SPT7[1:0] (D[7:6])/Port input interrupt select register 2 (0x402C7)
FPT6
SPT6[1:0] (D[5:4])/Port input interrupt select register 2 (0x402C7)
FPT5
SPT5[1:0] (D[3:2])/Port input interrupt select register 2 (0x402C7)
FPT4
SPT4[1:0] (D[1:0])/Port input interrupt select register 2 (0x402C7)
FPT3
SPT3[1:0] (D[7:6])/Port input interrupt select register 1 (0x402C6)
FPT2
SPT2[1:0] (D[5:4])/Port input interrupt select register 1 (0x402C6)
FPT1
SPT1[1:0] (D[3:2])/Port input interrupt select register 1 (0x402C6)
FPT0
SPT0[1:0] (D[1:0])/Port input interrupt select register 1 (0x402C6)
B-III-9-12
SPT7
Input polarity
selection SPPT7
Edge/level
selection SEPT7
FPT3
FPT2
FPT1
FPT0
Figure 9.3 Configuration of Port Input Interrupt Circuit
Table 9.5 Selecting Pins for Port Input Interrupts
Control bit
Interrupt signal
generation
EPSON
Interrupt
request
FPT7
FPT6
FPT5
FPT4
FPT3
FPT2
FPT1
FPT0
SPT settings
11
10
01
P27
P07
P33
P26
P06
P32
P25
P05
P31
P24
P04
K54
P23
P03
K53
P22
P02
K52
P21
P01
K51
P20
P00
K50
S1C33L03 FUNCTION PART
00
K67
K66
K65
K64
K63
K62
K61
K60

Advertisement

Table of Contents
loading

Table of Contents