enCoRe™ V CY7C643xx, enCoRe™ V LV CY7C604xx TRM, Document No. 001-32519 Rev *H
52
6. General-Purpose I/O (GPIO)
This chapter discusses the general-purpose I/O (GPIO) and its associated registers, which is the circuit responsible for inter-
facing to the I/O pins of a enCoRe V device. The GPIO blocks provide the interface between the M8C core and the outside
world. They offer a large number of configurations to support several types of input/output (IO) operations for both digital and
analog systems. For a complete table of the GPIO registers, refer to
. For a quick reference of all
enCoRe Vregisters in address order, refer to the
Register Reference chapter on page 163
.
6.1
Architectural Description
The GPIO in the CY7C643xx and CY7C604xx devices are all uniform, except that Port 0 and Port 1 GPIO have stronger high
drive. In addition to higher drive strength, Port 1 GPIO have an option for regulated output level. These distinctions are dis-
cussed in more detail in
Port 1 Distinctions on page 53
Port 0 Distinctions on page 53
.
Figure 6-1. GPIO Block Diagram
Drive
Logic
DM1
DM0
Alt. Select
Write PRTxDR
Alt. Data
2:1
Vdd
Note
Alt. Select/
Data is not available
on all pins.
Vdd
5.6k
LDO
REG_EN
Port 1
Only
Vdd
Pin
Drive Modes
DM1
Drive Mode
DM0
Diagram
Number Data = 0
Data = 1
Alt. Input
(e.g., I2C)
Data
Bus
Read PRTxDR
DM(1:0) = 10b
INBUF
(to GPIO
interrupt logic)
Note
No diode to
Vdd for Port 1
0
0
1
1
0
1
0
1
Resistive Pull Up
Strong Drive
High Impedance
Open Drain
0
1
2
3
Strong
Strong
An. High Z
Strong
Resistive
Strong
An. High Z
High Z
0.
1.
2.
3.