LIS2MDL magnetometer modified library
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Diff: LIS2MDLSensor.h
- Revision:
- 2:0d9d7f8f871b
- Parent:
- 1:8562ae1a0534
- Child:
- 3:a16e6dd1ee7f
diff -r 8562ae1a0534 -r 0d9d7f8f871b LIS2MDLSensor.h --- a/LIS2MDLSensor.h Wed Jul 24 14:18:39 2019 +0000 +++ b/LIS2MDLSensor.h Thu Sep 05 13:42:18 2019 +0000 @@ -91,6 +91,10 @@ int set_m_odr(float odr); int get_m_fs(float *full_scale); int set_m_fs(float full_scale); + int get_m_lp(uint8_t *lp); + int set_m_lp(uint8_t lp); + int get_m_lpf(uint8_t *lpf); + int set_m_lpf(uint8_t lpf); int read_reg(uint8_t reg, uint8_t *data); int write_reg(uint8_t reg, uint8_t data); int set_m_self_test(uint8_t status);