Add i2c_write_byte, i2c_read_byte API 47/131547/4
authorHyeongsik Min <hyeongsik.min@samsung.com>
Tue, 30 May 2017 02:25:18 +0000 (11:25 +0900)
committerHyeongsik Min <hyeongsik.min@samsung.com>
Wed, 31 May 2017 01:28:03 +0000 (10:28 +0900)
commit6402d036ce0b37a062d9d6506c75081f7d22cdaa
tree22d8ba6f753505a90a10e0a79a22baebca247b89
parenta494140fba1f58594a2d51f9a417b2a99bed43ef
Add i2c_write_byte, i2c_read_byte API

In order to provide for single byte communication, this patch adds
peripheral_i2c_write_byte() and peripheral_i2c_read_byte() APIs.

Change-Id: I0b1404fc1571f6d21ab7bfa5ceb9a76cb8a3e936
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
include/peripheral_io.h
src/peripheral_i2c.c