Re: [riot-devel] I2C driver function to read a register with 16 bits address

2016-10-12 Thread Hauke Petersen
Hi Kees, you are right, the current interface does not support 16-bit registers. We are however overhauling the I2C interface as we speak, and the re-worked interface does have support for them (see [1]). Feel free to take a look and comment on the proposal! Cheers, Hauke [1]

[riot-devel] I2C driver function to read a register with 16 bits address

2016-10-11 Thread Kees Bakker
Hi, The SHT2x I2C device has a register with a 16 bits address. If I'm correct we don't have a function in the I2C driver to do that. Right? Assuming we need to extend the driver API, what would be a good name for such a function? All I can come up with is i2c_read_regs2: /** * @brief Read