summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
authorMario Tesi <mario.tesi@st.com>2016-11-02 11:42:48 +0100
committerchrome-bot <chrome-bot@chromium.org>2016-11-15 07:04:30 -0800
commit64b57efebdb311126f3daaa97d49443308507b76 (patch)
tree9b6b8692e6613f5a2bc9150ddd32ffabf367a2c3 /include/i2c.h
parent1d093deb54a2713295add2ebae41f6c2abb78e62 (diff)
downloadchrome-ec-64b57efebdb311126f3daaa97d49443308507b76.tar.gz
accel: add accel driver for LSM6DSM
This add basics for acc and gyro sensor ST lsm6dsm Still need to add interrupt management for embedded functions and FIFO BUG=none BRANCH=master TEST=Tested on discovery BOARD with sensor connected on EC i2c master bus. Added motion sense task on discovery board task list, added gpio info in board configuration file and tested with motion sense console commands. Data for acc/gyro seems ok, can successfully change ODR and full scale range for acc and gyro. Change-Id: Ie50c8c0ee366994ed97f7ff3252633893b813ac2 Signed-off-by: Mario Tesi <mario.tesi@st.com> Reviewed-on: https://chromium-review.googlesource.com/406947 Commit-Ready: mario tesi <mario.tesi@st.com> Tested-by: mario tesi <mario.tesi@st.com> Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'include/i2c.h')
0 files changed, 0 insertions, 0 deletions