zephyr/drivers/sensor/lsm303dlhc_magn/Kconfig
Ulf Magnusson bd6e04411e kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-04 17:31:27 -05:00

40 lines
762 B
Plaintext

# LSM303DLHC Three Axis Magnetometer configuration options
# Copyright (c) 2018 Philémon Jaermann
# SPDX-License-Identifier: Apache-2.0
menuconfig LSM303DLHC_MAGN
bool "LSM303DLHC Three Axis Magnetometer"
depends on I2C
help
Enable driver for LSM303DLHC I2C-based triaxial magnetometer sensor.
config LSM303DLHC_MAGN_RANGE
int "Magnetometer measurement range"
depends on LSM303DLHC_MAGN
range 1 7
default 1
help
1: +/-1.3 gauss
2: +/-1.9 gauss
3: +/-2.5 gauss
4: +/-4 gauss
5: +/-4.7 gauss
6: +/-5.6 gauss
7: +/-8.1 gauss
config LSM303DLHC_MAGN_ODR
int "Data rate frequency"
depends on LSM303DLHC_MAGN
range 0 7
default 0
help
0: 0.75Hz
1: 1.5 Hz
2: 3Hz
3: 7.5Hz
4: 15Hz
5: 30Hz
6: 75Hz
7: 220Hz