Files
OpenCellular/chip/stm32
Alec Berg 608fa5efd8 stm32f0: i2c: fix master i2c sending partial transfers
Fix master i2c when sending partial transfers using I2C_XFER_START
and I2C_XFER_STOP.

BUG=none
BRANCH=none
TEST=Tested i2c transfers on oak. tested transfers with
I2C_XFER_SINGLE (I2C_XFER_START | I2C_XFER_STOP) and tested
partial transfers with just one flag. For partial transfers
I tested two different types:
- i2c_xfer START only transmitting, then another i2c_xfer with
more trasnmitting followed by a STOP. verified with logic
analyzer that there is not restart in the middle.
- i2c_xfer START with transmitting and receiving, then another
i2c_xfer with more receiving followed by a STOP. verified with
logic analyzer that there is one restart in between
transmitting and receving and no restart in between the two
calls to i2c_xfer.

Change-Id: Ie4146d1cf7d39f7dc56fd02e65add6bf02772e67
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/272690
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2015-05-22 18:11:58 +00:00
..
2014-10-07 20:58:52 +00:00
2015-02-28 03:46:35 +00:00
2014-10-07 20:58:52 +00:00
2014-10-07 20:58:52 +00:00
2015-05-19 02:46:27 +00:00
2015-05-19 02:46:27 +00:00
2015-05-19 02:46:27 +00:00
2014-10-07 20:58:52 +00:00
2014-08-29 03:00:20 +00:00
2014-10-07 20:58:52 +00:00
2013-07-01 10:19:49 -07:00
2013-07-08 13:53:58 -07:00
2013-12-16 20:28:32 +00:00
2014-09-24 08:56:21 +00:00
2014-10-07 20:58:52 +00:00
2014-10-08 02:50:48 +00:00
2014-10-08 02:50:48 +00:00
2015-04-13 20:00:58 +00:00
2015-04-29 20:44:41 +00:00
2015-04-13 20:00:58 +00:00
2015-04-13 20:00:58 +00:00