データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

MCP23016-I/ML データシート(PDF) 13 Page - Microchip Technology

部品番号 MCP23016-I/ML
部品情報  16-Bit I2C??I/O Expander
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  MICROCHIP [Microchip Technology]
ホームページ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP23016-I/ML データシート(HTML) 13 Page - Microchip Technology

Back Button MCP23016-I/ML Datasheet HTML 9Page - Microchip Technology MCP23016-I/ML Datasheet HTML 10Page - Microchip Technology MCP23016-I/ML Datasheet HTML 11Page - Microchip Technology MCP23016-I/ML Datasheet HTML 12Page - Microchip Technology MCP23016-I/ML Datasheet HTML 13Page - Microchip Technology MCP23016-I/ML Datasheet HTML 14Page - Microchip Technology MCP23016-I/ML Datasheet HTML 15Page - Microchip Technology MCP23016-I/ML Datasheet HTML 16Page - Microchip Technology MCP23016-I/ML Datasheet HTML 17Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 38 page
background image
© 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
(see Table 2-5 and Figure 2-4).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com