參數(shù)資料
型號(hào): PCA9502
廠商: NXP Semiconductors N.V.
英文描述: 8-bit I/O expander with I2C-bus/SPI interface
中文描述: 8位I / O擴(kuò)展接口與I2C-bus/SPI
文件頁(yè)數(shù): 5/25頁(yè)
文件大小: 125K
代理商: PCA9502
PCA9502_3
NXP B.V. 2006. All rights reserved.
Product data sheet
Rev. 03 — 13 October 2006
5 of 25
NXP Semiconductors
PCA9502
8-bit I/O expander with I
2
C-bus/SPI interface
7.2 Interrupts
The PCA9502 has interrupt generation capability. The interrupt enable register (IOIntEna)
enables interrupts due to I/O pin change of state, and the IRQ signal in response to an
interrupt generation.
8.
Register descriptions
The programming combinations for register selection are shown in
Table 5
.
[1]
Other addresses 0x00 through 0x09, 0x0F are reserved and should not be accessed (read or write).
[2]
These bits are reserved and should be set to 0.
8.1 Programmable I/O pins Direction register (IODir)
This register is used to program the I/O pins direction. Bit 0 to bit 7 control GPIO0 to
GPIO7.
Remark:
If there is a pending input (GPIO) interrupt and IODir is written, this pending
interrupt will be cleared, that is, the interrupt signal will be negated.
Table 5.
Register name
IODir
IOState
IOIntEna
IOControl
Register map - read/write properties
Read mode
I/O pin direction
I/O pin states
I/O interrupt enable register
I/O pins control
Write mode
I/O pin direction
n/a
I/O interrupt enable register
I/O pins control
Table 6.
Register
address
General Register Set
0x0A
[1]
0x0B
[1]
0x0C
[1]
0x0D
[1]
PCA9502 internal registers
Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R/W
IODir
IOState
IOIntEna
reserved
[2]
bit 7
bit 7
bit 7
reserved
[2]
bit 6
bit 6
bit 6
reserved
[2]
bit 5
bit 5
bit 5
reserved
[2]
bit 4
bit 4
bit 4
reserved
[2]
bit 3
bit 3
bit 3
reserved
[2]
bit 2
bit 2
bit 2
reserved
[2]
bit 1
bit 1
bit 1
reserved
[2]
bit 0
bit 0
bit 0
reserved
[2]
R/W
R/W
R/W
0x0E
[1]
IOControl
reserved
[2]
reserved
[2]
reserved
[2]
reserved
[2]
SReset
reserved
[2]
reserved
[2]
IOLatch
R/W
Table 7.
Bit
7:0
IODir register (address 0x0A) bit description
Symbol
Description
IODir
set GPIO pins 7:0 to input or output
0 = input
1 = output
相關(guān)PDF資料
PDF描述
PCA9506 40-bit I2C-bus I/O port with RESET, OE, and INT
PCA9509 Level translating I2C-bus/SMBus repeater
PCA9510A Hot swappable I2C-bus and SMBus bus buffer
PCA9511A Hot swappable I2C-bus and SMBus bus buffer
PCA9511DP Hot swappable I2C and SMBus bus buffer
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PCA9502BS 功能描述:接口-I/O擴(kuò)展器 8-BITI/O EXPDR W/I2C-SPI INTRF RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
PCA9502BS,128 功能描述:接口-I/O擴(kuò)展器 8-BITI/O EXPDR RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
PCA9502BS,151 功能描述:接口-I/O擴(kuò)展器 I/O EXPANDER I2C RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
PCA9502BS,157 功能描述:接口-I/O擴(kuò)展器 8-BITI/O EXPDR RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel
PCA9502BS-F 功能描述:接口-I/O擴(kuò)展器 8-BITI/O EXPDR W/I2C-SPI INTRF RoHS:否 制造商:NXP Semiconductors 邏輯系列: 輸入/輸出端數(shù)量: 最大工作頻率:100 kHz 工作電源電壓:1.65 V to 5.5 V 工作溫度范圍:- 40 C to + 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HVQFN-16 封裝:Reel