参数资料
型号: MCP23016-I/SS
元件分类: 微控制器/微处理器
英文描述: 16 I/O, PIA-GENERAL PURPOSE, PDSO28
封装: 0.209 INCH, PLASTIC, SSOP-28
文件页数: 5/38页
文件大小: 543K
代理商: MCP23016-I/SS
2007 Microchip Technology Inc.
DS20090C-page 13
MCP23016
1.9.2
WRITING THE REGISTERS
To write to a MCP23016 register, the Master I2C device
needs to follow the requirements, as illustrated in
Figure 1-3. First, the device is selected by sending the
slave address and setting the R/W bit to logic ‘0’. The
command byte
is
sent
after
the
address
and
determines which register will be written. Table 1-3
shows the relationship of the command byte and
register.
The MCP23016 has twelve 8-bit registers. They are
configured to operate as six 16-bit register pairs,
supporting the device’s 16-bit port. These pairs are
formed based on their functions (e.g., GP0 and GP1
are grouped together). The I2C commands apply to one
register pair to provide faster access. The first data byte
following a command byte is written into the register
pointed to by the command byte, while the second data
is written into another register in the same pair. For
example, if the first byte is sent to OLAT1 (command
byte 03h), the next data byte will be written into the sec-
ond register of that pair, OLAT0. If the first byte is writ-
ten to OLAT0 (command byte 02h), the second byte
will be written to OLAT1.
There is no limitation on the number of data bytes in
one write transmission. Figure 1-4 shows the case of
multiple byte writes in one write operation. In this case,
the multiple writes are made to the same data pair.
FIGURE 1-3:
WRITE TO CONFIGURATION
REGISTERS (CASE 1)
Note:
The bus must remain free until after the
ninth clock pulse for a minimum of 12 s
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
1
0
A2
A1
A0
D0
S
0
R/
W
=0
ACK
D6
D5
D4
D3
D2
D1
D7
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
D0
D6
D5
D4
D3
D2
D1
D7
ACK
D0
D6
D5
D4
D3
D2
D1
D7
ACK
P
Ad
d
re
s
C
o
mm
and
B
y
te
Da
ta
1
D
a
ta
2
ACK
SCL
h
e
ld
lo
w
u
n
til
data
i
s
pro
c
esse
d
相关PDF资料
PDF描述
MCP23016-I/SO 16 I/O, PIA-GENERAL PURPOSE, PDSO28
MCP23016-I/SP 16 I/O, PIA-GENERAL PURPOSE, PDIP28
MCP23S17T-E/SO 16 I/O, PIA-GENERAL PURPOSE, PDSO28
MCP23017-E/SP 16 I/O, PIA-GENERAL PURPOSE, PDIP28
MCP23S17-E/SS 16 I/O, PIA-GENERAL PURPOSE, PDSO28
相关代理商/技术参数
参数描述
MCP23016T-I/ML 功能描述:接口-I/O扩展器 16 bit In/Out RoHS:否 制造商:NXP Semiconductors 逻辑系列: 输入/输出端数量: 最大工作频率:100 kHz 工作电源电压:1.65 V to 5.5 V 工作温度范围:- 40 C to + 85 C 安装风格:SMD/SMT 封装 / 箱体:HVQFN-16 封装:Reel
MCP23016T-I/SO 功能描述:接口-I/O扩展器 16 bit In/Out RoHS:否 制造商:NXP Semiconductors 逻辑系列: 输入/输出端数量: 最大工作频率:100 kHz 工作电源电压:1.65 V to 5.5 V 工作温度范围:- 40 C to + 85 C 安装风格:SMD/SMT 封装 / 箱体:HVQFN-16 封装:Reel
MCP23016T-I/SS 功能描述:接口-I/O扩展器 16 bit In/Out RoHS:否 制造商:NXP Semiconductors 逻辑系列: 输入/输出端数量: 最大工作频率:100 kHz 工作电源电压:1.65 V to 5.5 V 工作温度范围:- 40 C to + 85 C 安装风格:SMD/SMT 封装 / 箱体:HVQFN-16 封装:Reel
MCP23017 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:16-Bit I/O Expander with Serial Interface
MCP23017-E/ML 功能描述:接口-I/O扩展器 16bit Input/Output Exp I2C interface RoHS:否 制造商:NXP Semiconductors 逻辑系列: 输入/输出端数量: 最大工作频率:100 kHz 工作电源电压:1.65 V to 5.5 V 工作温度范围:- 40 C to + 85 C 安装风格:SMD/SMT 封装 / 箱体:HVQFN-16 封装:Reel