Lines Matching +full:0 +full:x45
51 Valid addresses for the MAX6875 are 0x50 and 0x52.
53 Valid addresses for the MAX6874 are 0x50, 0x52, 0x54 and 0x56.
61 $ echo max6875 0x50 > /sys/bus/i2c/devices/i2c-0/new_device
63 The MAX6874/MAX6875 ignores address bit 0, so this driver attaches to multiple
64 addresses. For example, for address 0x50, it also reserves 0x51.
75 The configuration registers are at addresses 0x00 - 0x45.
84 To write a 1 to register 0x45::
86 i2c_smbus_write_byte_data(fd, 0x45, 1);
88 To read register 0x45::
90 value = i2c_smbus_read_byte_data(fd, 0x45);
93 The configuration EEPROM is at addresses 0x8000 - 0x8045.
95 The user EEPROM is at addresses 0x8100 - 0x82ff.
99 The command is the upper byte of the address: 0x80, 0x81, or 0x82.
103 val = (address & 0xff) | (data << 8);
107 To write 0x5a to address 0x8003::
109 i2c_smbus_write_word_data(fd, 0x80, 0x5a03);
119 To read data starting at offset 0x8100, first set the address::
121 i2c_smbus_write_byte_data(fd, 0x81, 0x00);
129 count = i2c_smbus_read_i2c_block_data(fd, 0x84, 16, buffer);
133 0x84 is the block read command.