CY8C20X34 CYPRESS [Cypress Semiconductor], CY8C20X34 Datasheet - Page 58
![no-image](/images/no-image-200.jpg)
CY8C20X34
Manufacturer Part Number
CY8C20X34
Description
Technical Reference Manual (TRM)
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
1.CY8C20X34.pdf
(218 pages)
- Current page: 58 of 218
- Download datasheet (3Mb)
General Purpose IO (GPIO)
6.2.3
The Port Drive Mode Bit Registers (PRTxDM0 and
PRTxDM1) are used to specify the Drive mode for GPIO
pins.
Bits 7 to 0: Drive Mode x[7:0]. In the PRTxDMx registers
there are four possible drive modes for each port pin. Two
mode bits are required to select one of these modes, and
these two bits are spread into two different registers
(PRTxDM0 and PRTxDM1). The bit position of the effected
port pin (for example, Pin[2] in Port 0) is the same as the bit
position of each of the two drive mode register bits that con-
trol the Drive mode for that pin (for example, bit[2] in
PRT0DM0 and bit[2] in PRT0DM1). The two bits from the
two registers are treated as a group. These are referred to
as DM1 and DM0, or together as DM[1:0]. Drive modes are
shown in
For analog IO, the Drive mode should be set to the High-Z
analog mode, 10b. The 10b mode disables the block’s digi-
tal input buffer so no crowbar current flows, even when the
analog input is not close to either power rail. If the 10b Drive
mode is used, the pin will always be read as a zero by the
CPU and the pin will not be able to generate a useful inter-
6.2.4
The Input/Output Configuration Register (IO_CFG) is used
to configure the Port 1 output regulator and set the Interrupt
mode for all GPIO.
Bit 1: REG_EN. The Register Enable bit (REG_EN) con-
trols the regulator on Port 1 outputs.
58
1,xxh
1,xxh
LEGEND
xx An “x” after the comma in the address field indicates that there are multiple instances of the register. For an expanded address listing of these registers,
1,DCh
Address
Address
refer to the
Table
PRTxDM0
PRTxDM1
IO_CFG
“Core Register Summary” on page
PRTxDMx Registers
IO_CFG Register
Name
Name
6-2.
Bit 7
Bit 7
Bit 6
Bit 6
24.
Bit 5
Bit 5
Bit 4
Bit 4
Drive Mode 0[7:0]
Drive Mode 1[7:0]
rupt. (It is not strictly required that a High-Z mode be
selected for analog operation.)
When digital inputs are needed on the same pin as analog
inputs, the 11b Drive mode should be used with the corre-
sponding data bit (in the PRTxDR register) set high.
Table 6-2. Pin Drive Modes
The GPIO provides a default Drive mode of high imped-
ance, analog (High-Z). This is achieved by forcing the reset
state of all PRTxDM1 registers to FFh.
For additional information, refer to the
page
Bit 0: IOINT. This bit sets the GPIO Interrupt mode for all
pins in the CY8C20x34 PSoC devices. GPIO interrupts are
controlled at each pin by the PRTxIE registers, and also by
the global GPIO bit in the INT_MSK0 register.
For additional information, refer to the
page
DM1
0
0
1
1
Modes
Drive
183, and the
187.
DM0
Bit 3
Bit 3
0
1
0
1
Resistive pull up
Strong drive
High impedance,
analog ( reset state )
Open drain low
Pin State
Bit 2
Bit 2
PRTxDM1 register on page
PSoC CY8C20x34 TRM, Version 1.0
REG_EN
Bit 1
Bit 1
Resistive high, strong low
Strong high, strong low
High-Z high and low, digital input dis-
abled (for zero power) ( reset state )
High-Z high (digital input enabled),
strong low.
PRTxDM0 register on
IO_CFG register on
Description
IOINT
Bit 0
Bit 0
184.
RW : FF
Access
RW : 00
Access
RW : 00
Related parts for CY8C20X34
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![CY37256VP208-66NI](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
Cypress Semiconductor [5V, 3.3V, ISRTM High-Performance CPLDs]
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C0831V-167AC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
CY7C0831V-167ACCypress Semiconductor [FLEx18-TM 3.3V 32K/64K/128K/256K/512K x 18 Synchronous Dual-Port RAM]
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![PLDC20G10-35PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
CMOS Generic 24-Pin Reprogrammable Logic Device
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C1021-15VC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
64K x 16 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C130-55PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
1K x 8 Dual-Port Static Ram
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY62128LL-70SC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
128K x 8 static RAM, standby current 20uA, 70ns
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C182-25PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
8Kx9 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C182-35PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
8Kx9 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C171A-25PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C150-12PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
1024 x 4 Static R/W RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C433-30PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
256/512/1K/2K/4K x 9 Asynchronous FIFO
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C172A-25PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C172A-15PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C172A-35PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
4K x 4 Static RAM with Separate I/O
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet:
![CY7C166-20PC](/images/manufacturer_photos/0/1/180/cypress_semiconductor_corporation__tmb.jpg)
Part Number:
Description:
16K x 4 Static RAM
Manufacturer:
Cypress Semiconductor Corporation.
Datasheet: