Re: [RFC] I2C register access API


Davidoaia, Bogdan M <bogdan.m.davidoaia@...>
 

On Jo, 2016-04-21 at 13:04 +0300, Vlad Dogaru wrote:
On Thu, Apr 21, 2016 at 11:44:45AM +0200, Tomasz Bursztyka wrote:
Hi Bogdan,

I like the idea. It would help to factorize code in many places indeed!
Same here.

Btw, would it make sense to an i2c_reg_burst_write()?
(would there be any use-case for such function actually?)
The sx9500 driver makes a burst write at init to set a bunch of
configuration registers, so that's one user. Not sure about any others,
though.
Good enough for me. Will also add burst write.

Bogdan

Join devel@lists.zephyrproject.org to automatically receive all group messages.