Datasheet

2010 Microchip Technology Inc. DS21909D-page 23
MCP9800/1/2/3
FIGURE 5-6: Timing Diagram for Writing and Reading from the Temperature Limit-set Register
(See Section 5.3.4 “Temperature Limit-Set Register (T
SET
)”).
SDA
A
C
K
1001
A
T
SET
Pointer
0000
A
C
K
S
2
A
1
A
0
12345678 12345678
SCL
0
Address Byte
A
C
K
1001
A
MSB Data
A
C
K
N
A
K
S P
2
A
1
A
0
12345678 12345678 12345678
Address Byte
LSB Data
R
PIC18FXXX
PIC18FXXX
PIC18FXXX
Master
Master
W
SDA
SCL
011
01011
010 00000
000
Reading the T
SET
Register.
Writing to the T
SET
Register to set the temperature limit to 90°C, <0101 1010 0000 0000>b
SDA
A
C
K
1001
A
0000
A
C
K
S
2
A
1
A
0
12345678 12345678
SCL
0
Address Byte
W
PIC18FXXX
PIC18FXXX
MSB Data
A
C
K
A
C
K
P
12345678 12345678
LSB Data
T
SET
Pointer
PIC18FXXX
PIC18FXX
011
01011
010 00000
000
Note: It is not necessary to
select the Register
Pointer if it was set
from the previous read/
write.
(see Section 4.1.1)