LIS2MDL magnetometer modified library
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Diff: LIS2MDLSensor.h
- Revision:
- 3:a16e6dd1ee7f
- Parent:
- 2:0d9d7f8f871b
diff -r 0d9d7f8f871b -r a16e6dd1ee7f LIS2MDLSensor.h --- a/LIS2MDLSensor.h Thu Sep 05 13:42:18 2019 +0000 +++ b/LIS2MDLSensor.h Thu Sep 05 15:41:07 2019 +0000 @@ -95,6 +95,10 @@ int set_m_lp(uint8_t lp); int get_m_lpf(uint8_t *lpf); int set_m_lpf(uint8_t lpf); + int get_m_comp_temp_en(uint8_t *comp_temp_en); + int set_m_comp_temp_en(uint8_t comp_temp_en); + int get_m_off_canc(uint8_t *off_canc); + int set_m_off_canc(uint8_t off_canc); 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);