TI中文支持网
TI专业的中文技术问题搜集分享网站

#define I2C_EEPROM_HIGH_ADDR 0x00 请问 数据的写入地址高位是根据什么设置的

Susan Yang:请您看一下下面的帖子

e2e.ti.com/…/691286

Q.Are those (#define I2C_EEPROM_HIGH_ADDR 0x00 and #define I2C_EEPROM_LOW_ADDR 0x30) as an EEPROM Address ?
if so,then why it (I2C_EEPROM_LOW_ADDR 0x30) did not start from 0x00?!
I would be happy if you explain more about 2C_EEPROM_HIGH_ADDR and I2C_EEPROM_LOW_ADDR .

A. This was likely the Example creator's choice to show an address access and not just starting the address from 0. You can change the starting address of the write to whatever you need. the example provides the option to address a 16-bit address I2C. The _HIGH_ADDR is the upper 8 bits of the address in this case.

赞(0)
未经允许不得转载:TI中文支持网 » #define I2C_EEPROM_HIGH_ADDR 0x00 请问 数据的写入地址高位是根据什么设置的
分享到: 更多 (0)