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
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.
Internal data bus
K67 |
| Interrupt | |
P33 |
| ||
Interrupt signal | request | ||
P07 | |||
FPT7 | |||
P27 | generation | ||
FPT6 | |||
| |||
|
| ||
Input port selection |
| FPT5 | |
| FPT4 | ||
SPT7 |
| ||
|
| FPT3 | |
Input polarity |
| FPT2 | |
| FPT1 | ||
selection SPPT7 |
| ||
| FPT0 | ||
|
| ||
Address |
|
|
Edge/level
selection SEPT7
Address
FPT7
FPT6
FPT5
FPT4
FPT3
FPT2
FPT1
FPT0
Figure 9.3 Configuration of Port Input Interrupt Circuit
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.
Table 9.5 Selecting Pins for Port Input Interrupts
Interrupt | Control bit |
| SPT settings |
| ||
factor | 11 | 10 | 01 | 00 | ||
| ||||||
FPT7 | SPT7[1:0] (D[7:6])/Port input interrupt select register 2 (0x402C7) | P27 | P07 | P33 | K67 | |
FPT6 | SPT6[1:0] (D[5:4])/Port input interrupt select register 2 (0x402C7) | P26 | P06 | P32 | K66 | |
FPT5 | SPT5[1:0] (D[3:2])/Port input interrupt select register 2 (0x402C7) | P25 | P05 | P31 | K65 | |
FPT4 | SPT4[1:0] (D[1:0])/Port input interrupt select register 2 (0x402C7) | P24 | P04 | K54 | K64 | |
FPT3 | SPT3[1:0] (D[7:6])/Port input interrupt select register 1 (0x402C6) | P23 | P03 | K53 | K63 | |
FPT2 | SPT2[1:0] (D[5:4])/Port input interrupt select register 1 (0x402C6) | P22 | P02 | K52 | K62 | |
FPT1 | SPT1[1:0] (D[3:2])/Port input interrupt select register 1 (0x402C6) | P21 | P01 | K51 | K61 | |
FPT0 | SPT0[1:0] (D[1:0])/Port input interrupt select register 1 (0x402C6) | P20 | P00 | K50 | K60 |
EPSON | S1C33L03 FUNCTION PART |