LSM6DSO accelerometer and gyroscope sensor library
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Diff: LSM6DSOSensor.h
- Revision:
- 4:bcf0cf6e43a7
- Parent:
- 3:4274d9103f1d
- Child:
- 5:213250c75a9e
diff -r 4274d9103f1d -r bcf0cf6e43a7 LSM6DSOSensor.h --- a/LSM6DSOSensor.h Wed Jul 24 14:19:35 2019 +0000 +++ b/LSM6DSOSensor.h Tue Sep 17 08:40:49 2019 +0000 @@ -110,6 +110,8 @@ virtual int get_g_fs(float *full_scale); virtual int set_x_fs(float full_scale); virtual int set_g_fs(float full_scale); + virtual int get_x_power_mode(uint8_t *xl_hm_mode, uint8_t *xl_ulp_en); + virtual int set_x_power_mode(uint8_t xl_hm_mode, uint8_t xl_ulp_en); int enable_x(void); int enable_g(void); int disable_x(void);