STMicroelectronics magnetometers 3-Axis Driver
modulename: st_magn.ko
configname: CONFIG_IIO_ST_MAGN_3AXIS
Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Magnetometer sensors
└─>I2C support
└─>STMicroelectronics magnetometers 3-Axis Driver
In linux kernel since version 3.1 (release Date: 2011-10-24)
Say yes here to build support for STMicroelectronics magnetometers:
LSM303DLHC, LSM303DLM, LIS3MDL.
This driver can also be built as a module. If so, will be created
these modules:
- st_magn (core functions for the driver [it is mandatory]);
- st_magn_i2c (necessary for the I2C devices [optional*]);
- st_magn_spi (necessary for the SPI devices [optional*]);
(*) one of these is necessary to do something.
LSM303DLHC, LSM303DLM, LIS3MDL.
This driver can also be built as a module. If so, will be created
these modules:
- st_magn (core functions for the driver [it is mandatory]);
- st_magn_i2c (necessary for the I2C devices [optional*]);
- st_magn_spi (necessary for the SPI devices [optional*]);
(*) one of these is necessary to do something.
source code:
selects
CONFIG_IIO_ST_SENSORS_CORECONFIG_IIO_ST_MAGN_I2C_3AXIS
CONFIG_IIO_ST_MAGN_SPI_3AXIS
CONFIG_IIO_TRIGGERED_BUFFER
CONFIG_IIO_ST_MAGN_BUFFER