
III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS
III-9 INPUT/OUTPUT PORTS
The Peripheral Block has a total of 42 input/output ports. Although each pin is used for input/output from/to the internal peripheral circuits, some pins can be used as
Input Ports (K Ports)
Structure of Input Port
The Peripheral Block contains 7 bits of input ports (K50 to K52, K60 to K63).
Figure 9.1 shows the structure of a typical input port.
Kxx
VDD *1
∗2
Input interrupt circuit
|
|
| bus |
| KxxD | dataInternal | |
|
| ||
|
|
| |
|
|
|
|
Address |
|
|
VSS ∗ 1 AVDD for
∗2 Available only for
Figure 9.1 Structure of Input Port
Each
When K60 to K63 are used as
If there is a potential difference between AVDD and VDD, in particular, if the level from outside is VDD, a current may flow in the input buffer (when AVDD > VDD) or between VDD and AVDD (when AVDD < VDD). Therefore, if these ports are not used, when the input level is fixed externally, it should be fixed at VSS or AVDD .
S1C33210 FUNCTION PART | EPSON |