[riot-notifications] [RIOT-OS/RIOT] i2c_read_regs / i2c_write_regs and endianess (#11544)

Kees Bakker notifications at github.com
Tue May 21 20:54:25 CEST 2019


@fedepell be careful not to mix up "address" and "register (address)". I thought the discussion here was about the register address. In that sense your suggested `I2C_ADDR_LE` makes no sense to me.
The enum `i2c_flags_t` is defining bits that can be or-ed together. There is a value for `I2C_REG16`. If we want two choices (little and big endian) then maybe we can add `I2C_REG16_LE` and have the old for big endian.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11544#issuecomment-494514316
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190521/a2668fb7/attachment.html>


More information about the notifications mailing list