1# LSM303DLHC Three Axis Magnetometer configuration options 2 3# Copyright (c) 2018 Philémon Jaermann 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig LSM303DLHC_MAGN 7 bool "LSM303DLHC Three Axis Magnetometer" 8 default y 9 depends on DT_HAS_ST_LSM303DLHC_MAGN_ENABLED 10 select I2C 11 help 12 Enable driver for LSM303DLHC I2C-based triaxial magnetometer sensor. 13 14config LSM303DLHC_MAGN_RANGE 15 int "Magnetometer measurement range" 16 depends on LSM303DLHC_MAGN 17 range 1 7 18 default 1 19 help 20 1: +/-1.3 gauss 21 2: +/-1.9 gauss 22 3: +/-2.5 gauss 23 4: +/-4 gauss 24 5: +/-4.7 gauss 25 6: +/-5.6 gauss 26 7: +/-8.1 gauss 27 28config LSM303DLHC_MAGN_ODR 29 int "Data rate frequency" 30 depends on LSM303DLHC_MAGN 31 range 0 7 32 default 0 33 help 34 0: 0.75Hz 35 1: 1.5 Hz 36 2: 3Hz 37 3: 7.5Hz 38 4: 15Hz 39 5: 30Hz 40 6: 75Hz 41 7: 220Hz 42