Справочник Пользователя для Microchip Technology MCP46XXEV
![Microchip Technology](https://files.manualsbrain.com/attachments/cf42c3c895ef469f06d2e47e97fd98d738fcf5cf/common/fit/150/50/7340124dc8aa983aaf764094e2f06faab86f306c03111c5817f7e4e53fb2/brand_logo.gif)
Installation and Operation
© 2010 Microchip Technology Inc.
DS51929A-page 19
FIGURE 2-4:
MCP46XX I
2
C Single Read Command Format.
FIGURE 2-5:
MCP46XX I
2
C Single Increment / Decrement Command Format.
STOP bit
Control Byte
READ Command
1
0
1
0
S
A2 A1 A0 0
1
AD AD AD AD
A
1
x X
A Sr
0
1
2
3
Fixed
Address
Address
Variable
Address
Address
Device
Memory
Address
Memory
Address
Command
Control Byte
Read bits
P
0
0
0
0
0
0
0 D8 A
1
Write bit
D3
D7 D6 D5 D4
D2 D1 D0 A
2
1
0
1
0
A2 A1 A0 1
A
Read bit
Repeated Start bit
Read Data bits
Note 1: Master Device is responsible for A / A signal. If an A signal occurs, the MCP45XX/46XX will
abort this transfer and release the bus.
2: The Master Device will Not Acknowledge, and the MCP45XX/46XX will release the bus so the
Master Device can generate a Stop or Repeated Start condition.
3: The MCP45XX/46XX retains the last “Device Memory Address” that it has received. This is
the MCP45XX/46XX does not “corrupt” the “Device Memory Address” after Repeated Start or
Stop conditions.
Stop conditions.
Control Byte
DECR Command
1
0
1
0
S
A2 A1 A0 0
1
AD AD AD AD
A
0 X
X
A P
0
1
2
3
Fixed
Address
Variable
Address
Device
Memory
Address
Memory
Address
Command
Write bit
Note 1:
Increment and Decrement Commands (INCR or DECR) only function when accessing the
volatile wiper registers (AD3:AD0 = 0h and 1h).
volatile wiper registers (AD3:AD0 = 0h and 1h).
STOP bit
0 0 = Write Data
0 1 = INCR
0 1 = INCR
1 0 = DECR
1 1 = Read Data
1 1 = Read Data
C C
1 0
1 0
Command
Bits
Control Byte
INCR Command
1
0
1
0
S
A2 A1 A0 0
0
AD AD AD AD
A
1 x
X A P
0
1
2
3
Fixed
Address
Address
Variable
Address
Address
Device
Memory
Address
Memory
Address
Command
Write bit
STOP bit