參數(shù)資料
型號: MCP23016
廠商: Microchip Technology Inc.
英文描述: 16-Bit I2C I/O Expander(16位I/O口擴(kuò)展芯片)
中文描述: 16位I2C I / O擴(kuò)展(16位的I / O口擴(kuò)展芯片)
文件頁數(shù): 13/38頁
文件大小: 578K
代理商: MCP23016
2003 Microchip Technology Inc.
DS20090B-page 13
MCP23016
1.9.2
To write to a MCP23016 register, the Master I
2
C 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.
WRITING THE REGISTERS
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 I
2
C 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 second register of that pair, OLAT0. If the first
byte is written 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
(see Table 2-5 and Figure 2-4).
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
1
0
0
A
A
A
D
S
0
R
A
D
D
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
D
D
D
A
D
D
D
A
P
A
C
D
D
A
S
d
相關(guān)PDF資料
PDF描述
MCP3008(中文) 2.7V 4-Channel/8-Channel 10-Bit A/D Converters With SPI Serial Interface(2.7V,4通道/8通道,10位,帶SPI串口的A/D轉(zhuǎn)換器)
MCP3004(中文) 2.7V 4-Channel/8-Channel 10-Bit A/D Converters With SPI Serial Interface(2.7V,4通道/8通道,10位,帶SPI串口的A/D轉(zhuǎn)換器)
MCP3201-CIP 2.7V 12-Bit A/D Converter with SPI Serial Interface
MCP3201-CIST 2.7V 12-Bit A/D Converter with SPI Serial Interface
MCP3201 2.7V 12-Bit A/D Converter with SPI Serial Interface
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MCP23016-I/ML 功能描述:接口-I/O擴(kuò)展器 16 bit In/Out 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
MCP23016-I/SO 功能描述:接口-I/O擴(kuò)展器 16 bit In/Out 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
MCP23016-I/SO 制造商:Microchip Technology Inc 功能描述:I/O Expander IC
MCP23016-I/SP 功能描述:接口-I/O擴(kuò)展器 16 bit In/Out 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
MCP23016-I/SP 制造商:Microchip Technology Inc 功能描述:I/O Expander IC