欢迎访问ic37.com |
会员登录 免费注册
发布采购

CY7C63001C-SXC 参数 Datasheet PDF下载

CY7C63001C-SXC图片预览
型号: CY7C63001C-SXC
PDF下载: 下载PDF文件 查看货源
内容描述: 通用串行总线的微控制器 [Universal Serial Bus Microcontroller]
分类和应用: 微控制器
文件页数/大小: 28 页 / 1077 K
品牌: CYPRESS [ CYPRESS SEMICONDUCTOR ]
 浏览型号CY7C63001C-SXC的Datasheet PDF文件第6页浏览型号CY7C63001C-SXC的Datasheet PDF文件第7页浏览型号CY7C63001C-SXC的Datasheet PDF文件第8页浏览型号CY7C63001C-SXC的Datasheet PDF文件第9页浏览型号CY7C63001C-SXC的Datasheet PDF文件第11页浏览型号CY7C63001C-SXC的Datasheet PDF文件第12页浏览型号CY7C63001C-SXC的Datasheet PDF文件第13页浏览型号CY7C63001C-SXC的Datasheet PDF文件第14页  
CY7C63001C
CY7C63101C
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
Figure 6-9).When
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.
Both Port 0 and Port 1 Pull-up Registers are write only (see
Figures 6-10
and
6-11).
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.
Writing a “0” to the Data Register drives the output LOW.
Instead of providing a fixed output drive, the USB Controller
allows the user to select an output sink current level for each
I/O pin. The sink current of each output is controlled by a
dedicated Port Isink Register. The lower four bits of this
register contain a code selecting one of sixteen sink current
levels. The upper four bits of the register are ignored. The
format of the Port Isink Register is shown in
Figure 6-12.
Port 0 is a low-current port suitable for connecting photo
transistors. Port 1 is a high current port capable of driving
LEDs. See section 8.0 for current ranges. 0000 is the lowest
drive strength. 1111 is the highest.
The write-only sink current control registers for Port 0 outputs
are assigned from I/O address 0x30 to 0x37 with the control
bits for P00 starting at 0x30. Port 1 sink current control
registers are assigned from I/O address 0x38 to 0x3F with the
control bits for P10 starting at 0x38. All sink current control
registers are cleared during a reset, resulting in the minimum
current sink setting.
b3
PULL0.3
W
0
b2
PULL0.2
W
0
b1
PULL0.1
W
0
b0
PULL0.0
W
0
b7
PULL0.7
W
0
b6
PULL0.6
W
0
b5
PULL0.5
W
0
b4
PULL0.4
W
0
Figure 6-10. Port 0 Pull-up Register (Address 0x08)
b7
PULL1.7
W
0x
b6
PULL1.6
W
0
b5
PULL1.5
W
0
b4
PULL1.4
W
0
b3
PULL1.3
W
0
b2
PULL1.2
W
0
b1
PULL1.1
W
0
b0
PULL1.0
W
0
Figure 6-11. Port 1 Pull-up Register (Address 0x09)
b7
Reserved
W
x
b6
Reserved
W
x
b5
Reserved
W
x
b4
UNUSED
W
x
b3
ISINK3
W
x
b2
ISINK2
W
x
b1
ISINK1
W
x
b0
ISINK0
W
x
Figure 6-12. Port Isink Register for One GPIO Line
Document #: 38-08026 Rev. *B
Page 10 of 28