zephyr/samples
Daniel Leung dff5f6a038 i2c: make i2c_transfer() really generic
Make the i2c_transfer() to transact messages through the I2C bus.

It is useful for I2C storage devices, as now we can send one message
containing the destination byte/block address, then send the data
in another message. There is no need to construct one continuous
data buffer to send both address and data anymore.

The drivers and sample apps have been updated to utilize updated
API when appropriate. For i2c_dw, only master mode has been updated.
Slave mode will be updated once we can adequately test it.

Change-Id: I0a811d60567367817fcc8d15f5454e5c933722e2
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2016-02-05 20:25:15 -05:00
..
bluetooth nano_fifo: Simplify nano_xxx_fifo_get() API family 2016-02-05 20:25:14 -05:00
build_test/drivers update tests due to recent board files shuffle 2016-02-05 20:25:12 -05:00
crypto build: Remove PROJECTINCLUDE from application makefiles 2016-02-05 20:25:04 -05:00
include irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
microkernel nano_timers: Simplify nano_xxx_timer_test() API family 2016-02-05 20:25:15 -05:00
nanokernel i2c: make i2c_transfer() really generic 2016-02-05 20:25:15 -05:00
net nano_timers: Simplify nano_xxx_timer_test() API family 2016-02-05 20:25:15 -05:00