summaryrefslogtreecommitdiffstats
path: root/watch-library/shared/driver/lis2dw.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-02-19 13:12:04 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2022-02-19 13:12:04 -0500
commit9f0f72eb203ae1fe93c850a38a6a9de9ab192ba8 (patch)
tree98242256a61cb18d1a500c321b6520bbd0108004 /watch-library/shared/driver/lis2dw.h
parent3392f73d360c46d2bd79eec2c530a78d9657cf8c (diff)
downloadSensor-Watch-9f0f72eb203ae1fe93c850a38a6a9de9ab192ba8.tar.gz
Sensor-Watch-9f0f72eb203ae1fe93c850a38a6a9de9ab192ba8.tar.bz2
Sensor-Watch-9f0f72eb203ae1fe93c850a38a6a9de9ab192ba8.zip
lis2dw: add support for temperature sensing
Diffstat (limited to 'watch-library/shared/driver/lis2dw.h')
-rw-r--r--watch-library/shared/driver/lis2dw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/watch-library/shared/driver/lis2dw.h b/watch-library/shared/driver/lis2dw.h
index ac5de929..25814634 100644
--- a/watch-library/shared/driver/lis2dw.h
+++ b/watch-library/shared/driver/lis2dw.h
@@ -275,6 +275,8 @@ lis2dw_reading_t lis2dw_get_raw_reading(void);
lis2dw_acceleration_measurement_t lis2dw_get_acceleration_measurement(lis2dw_reading_t *out_reading);
+uint16_t lis2dw_get_temperature(void);
+
void lis2dw_set_range(lis2dw_range_t range);
lis2dw_range_t lis2dw_get_range(void);