MCP9808 MICROCHIP [Microchip Technology], MCP9808 Datasheet - Page 20

no-image

MCP9808

Manufacturer Part Number
MCP9808
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP9808-E/MS
Manufacturer:
MICROCHIP
Quantity:
1 690
Part Number:
MCP9808-E/MS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP9808T-E/MC
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP9808T-E/MS
Manufacturer:
MICROCHIP
Quantity:
12 000
MCP9808
FIGURE 5-2:
Communication”).
DS25095A-page 20
Writing to the CONFIG Register to Enable the Event Output Pin <0000 0000 0000 1000>b:
SDA
Note: This is an example routine (see
i2c_start();
i2c_write(AddressByte & 0xFE);
i2c_write(0x01);
i2c_write(0x00);
i2c_write(0x08);
i2c_stop();
SCL
S
Timing Diagram for Writing to the Configuration Register (see
1
0
2
0
Address Byte
3
1
4
1
A
5
2
6
A
1
0
1
A
7
0
2
0
MCP9808
W
8
3
0
MSB Data
Appendix A: “Source
A
C
K
4
0
// send START command
//WRITE Command (see
//also, make sure bit 0 is cleared ‘0’
// Write CONFIG Register
// Write data
// Write data
// send STOP command
1
0
0
5
Configuration Pointer
2
0
0
6
3
0
7
0
MCP9808
4
0
8
0
5
0
A
C
K
6
0
1
0
Code”).
7
0
Section 4.1.4 “Address
2
0
MCP9808
1
8
3
0
LSB Data
A
C
K
4
0
5
1
6
0
© 2011 Microchip Technology Inc.
7
0
Section 4.0 “Serial
MCP9808
8
0
Byte”)
A
C
K
P

Related parts for MCP9808