參數(shù)資料
型號: CP2120-GM
廠商: Silicon Laboratories Inc
文件頁數(shù): 11/24頁
文件大?。?/td> 0K
描述: IC I/O EXPANDER I2C/SPI 8B 20QFN
產(chǎn)品培訓模塊: CP21xx USB Bridge
標準包裝: 91
接口: I²C,SPI
輸入/輸出數(shù): 8
中斷輸出:
頻率 - 時鐘: 400kHz
電源電壓: 3 V ~ 3.6 V
工作溫度: -40°C ~ 85°C
安裝類型: 表面貼裝
封裝/外殼: 20-VFQFN 裸露焊盤
供應商設備封裝: 20-QFN(4x4)
包裝: 管件
產(chǎn)品目錄頁面: 627 (CN2011-ZH PDF)
其它名稱: 336-1324
CP2120
Rev. 0.4
19
7. Port I/O
The CP2120 offers eight general-purpose port pins that can be configured as output, input, or quasi-bidirectional
output by writing to the internal registers, IOCONFIG and IOCONFIG2. Pin state can be updated by writing to the
internal register, IOSTATE. Reading the IOSTATE Internal Register will return the current values of each port pin.
The port pin, EINT, can be configured as an edge-triggered interrupt source by writing to the EDGEINT Internal
Register. The EIT bit sets the interrupt to trigger upon a 0 to 1 or a 1 to 0 logic change on the pin. The bit, EIE,
enables the pin as an interrupt source.
Once the interrupt has been configured and enabled, the CP2120 will pull the INT pin low when the port pin's logic
value switches to “1'” or “0”, depending on the interrupt configuration specified in the EIT bit. When an interrupt is
triggered, EIF in the EDGEINT Internal Register is set. Reading from EDGEINT will clear the EIF bit.
Internal Register Definition 7. IOCONFIG: Port I/O Configuration
Internal Register Address:
0x00
Reset Value:
0x00
Bit 7-6:
PCIO3.1-PCIO3.0: Port Configuration for GPIO Pin 3
Bit 5-4:
PCIO2.1-PCIO2.0: Port Configuration for GPIO Pin 2
Bit 3-2:
PCIO1.1-PCIO1.0: Port Configuration for GPIO Pin 1
Bit 1-0:
PCIO0.1-PCIO0.0: Port Configuration for GPIO Pin 0
These bits select the port state for GPIO pins 3 through 0.
R/W
PCIO3.1
PCIO3.0
PCIO2.1
PCIO2.0
PCIO1.1
PCIO1.0
PCIO0.1
PCIO0.0
Bit 7
Bit 6
Bit 5
Bit 4
Bit3
Bit 2
Bit 1
Bit 0
PCIOx.1
PCIOx.0
GPIO Pin x Mode
0
Open Drain Output
0
1
Input Only
1
0
Push-Pull Output
1
Input Only
相關PDF資料
PDF描述
CP2200-GQ IC ETH CTRLR SNGL-CHIP 48TQFP
CP80C86-2Z IC CPU 16BIT 5V 8MHZ 40-PDIP
CP82C50A-5Z IC ASYNC COMM ELEMENT UART 40DIP
CP82C89 IC ARBITER BUS 5V 8MHZ 20-DIP
CPC1465D IC DC TERMINATION 16-SOIC
相關代理商/技術參數(shù)
參數(shù)描述
CP2120-GMR 功能描述:接口 - 專用 SPI-I2C BRIDGE & GPIO PORT EXPANDER RoHS:否 制造商:Texas Instruments 產(chǎn)品類型:1080p60 Image Sensor Receiver 工作電源電壓:1.8 V 電源電流:89 mA 最大功率耗散: 最大工作溫度:+ 85 C 安裝風格:SMD/SMT 封裝 / 箱體:BGA-59
CP2-127-06L 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
CP2-127-06L-1-RTV-W6 制造商:Laird Technologies Inc 功能描述:
CP2-127-06LT 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
CP2-127-06TL 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC