STMicroelectronics accelerometers 3-Axis Driver
modulename: st_accel.ko
configname: CONFIG_IIO_ST_ACCEL_3AXIS
Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Accelerometers
└─>I2C support
└─>STMicroelectronics accelerometers 3-Axis Driver
In linux kernel since version 3.1 (release Date: 2011-10-24)
Say yes here to build support for STMicroelectronics accelerometers:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
This driver can also be built as a module. If so, will be created
these modules:
- st_accel (core functions for the driver [it is mandatory]);
- st_accel_i2c (necessary for the I2C devices [optional*]);
- st_accel_spi (necessary for the SPI devices [optional*]);
(*) one of these is necessary to do something.
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.
This driver can also be built as a module. If so, will be created
these modules:
- st_accel (core functions for the driver [it is mandatory]);
- st_accel_i2c (necessary for the I2C devices [optional*]);
- st_accel_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_ACCEL_I2C_3AXIS
CONFIG_IIO_ST_ACCEL_SPI_3AXIS
CONFIG_IIO_TRIGGERED_BUFFER
CONFIG_IIO_ST_ACCEL_BUFFER
depends
CONFIG_IIOCONFIG_SYSFS
CONFIG_I2C or CONFIG_SPI_MASTER or NOT CONFIG_SENSORS_LIS3_I2C or NOT CONFIG_SENSORS_LIS3_SPI