diff options
author | Vic Yang <victoryang@chromium.org> | 2014-07-17 11:36:39 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-07-18 04:44:40 +0000 |
commit | 3bb7de950f007ec554d73f0d2b480c68e562e5bc (patch) | |
tree | fd51167d408ac566c52211321855dafacb6bdd24 /board/ryu/board.h | |
parent | a9b0d15e6e781dc57f3c5739cfd2f80db03adbd4 (diff) | |
download | chrome-ec-3bb7de950f007ec554d73f0d2b480c68e562e5bc.tar.gz |
stm32f0: Fix repeated start for I2C
We want repeated start instead of stop+start. Apparently, we need to set
START bit along with read configuration. Otherwise, the I2C module
generates a STOP condition.
BUG=None
TEST=Monitor I2C with a logic analyzer. See repeated start instead of
stop+start.
BRANCH=All using stm32f0.
Change-Id: I47491e240f2543e5d023e950d15468ec0e3c301b
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/208760
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/ryu/board.h')
0 files changed, 0 insertions, 0 deletions