CY7C63001A-PC Datasheet Download

Part No.:
CY7C63001A-PC
Download:
Download Datasheet
Description:
[Universal Serial Bus Microcontroller]
File Size:
500 K
Page:
25 Pages
Logo:
Manufacturer:
CYPRESS [ CYPRESS SEMICONDUCTOR ]
PCB Prototype
 CY7C63001A-PC Datasheet Page:5CY7C63001A-PC Datasheet Page:6CY7C63001A-PC Datasheet Page:7CY7C63001A-PC Datasheet Page:8CY7C63001A-PC Datasheet Page:10CY7C63001A-PC Datasheet Page:11CY7C63001A-PC Datasheet Page:12CY7C63001A-PC Datasheet Page:13 
CY7C63001A
CY7C63101A
Each GPIO line includes an internal R
up
resistor. This resistor
provides both the pull-up function and slew control. Two
factors govern the enabling and disabling of each resistor: the
state of its associated Port Pull-up register bit and the state of
the Data Register bit. NOTE: The control bits in the Port Pull-
up register are active LOW.
A GPIO line is HIGH when a “1” is written to the Data Register
and a “0” is written to the respective Port Pull-up register.
Writing a “0” to the port Data Register disables the port’s Pull-
up resistor and outputs a LOW on the GPIO line regardless of
the setting in the Port Pull-up Register. The output goes to a
high-Z state if the Data Register bit and the Port Pull-up
Register bit are both “1”.
illustrates the block
diagram of one I/O line. The Port Isink Register is used to
control the output current level and it is described later in this
section. NOTE: The Isink logic block is turned off during
suspend mode (please refer to the Instant-on Feature section
for more details). Therefore, to prevent higher I
CC
currents
during USB suspend mode, firmware must set ALL Port 0 and
Port 1 Data Register bits (which are not externally driven to a
known state),
including those that are not bonded out on a
particular package,
to “1” and all Port 0 and Port 1 Pull-Up
Register data bits to “0” to enable port pull-ups before setting
the Suspend bit (bit 3 of the Status and Control Register).
is the Output Control truth table.
V
CC
Port Pull-Up
Register
Port Data
Register
R
up
Port Isink
Register
Suspend
Bit
GPIO
Pin
Isink
DAC
Disable
Schmitt
Trigger
Data Bus
Figure 6-10. Block Diagram of an I/O Line
Table 6-2. Output Control Truth Table
Data Register
0
0
1
1
Port Pull-up Register
0
1
0
1
Output at I/O Pin
Sink Current (‘0’)
Sink Current (‘0’)
Pull-up Resistor (‘1’)
Hi-Z
Interrupt Polarity
High to Low
Low to High
High to Low
Low to High
To configure a GPIO pin as an input, a “1” should be written to
the Port Data Register bit associated with that pin to disable
the pull-down function of the Isink DAC (see
the Port Data Register is read, the bit value is a “1”
if the voltage on the pin is greater than the Schmitt trigger
threshold, or “0” if it is below the threshold. In applications
where an internal pull-up is required, the R
up
pull-up resistor
can be engaged by writing a “0” to the appropriate bit in the
Port Pull-up Register.
b7
PULL0.7
W
0
b6
PULL0.6
W
0
b5
PULL0.5
W
0
b4
PULL0.4
W
0
Both Port 0 and Port 1 Pull-up Registers are write only (see
Figures 6-11
and
The Port 0 Pull-up Register is located
at I/O address 0x08 and Port 1 Pull-up Register is mapped to
address 0x09. The contents of the Port Pull-up Registers are
cleared during reset, allowing the outputs to be controlled by
the state of the Data Registers. The Port Pull-up Registers also
select the polarity of transition that generates a GPIO interrupt.
A “0” selects a HIGH to LOW transition while a “1” selects a
LOW to HIGH transition.
b3
PULL0.3
W
0
b2
PULL0.2
W
0
b1
PULL0.1
W
0
b0
PULL0.0
W
0
Figure 6-11. Port 0 Pull-up Register (Address 0x08)
Document #: 38-08026 Rev. *A
Page 9 of 25