zephyr/drivers/sensor
Aedan Cullen 5fc2586b8f drivers: sensor: lis3mdl: always use continuous mode
The LIS3MDL driver misunderstands the MD[1:0] bits in CTRL_REG3.
Correct this so that all ODR settings are functional.

Currently, single-conversion mode is enabled when fast ODR is set,
resulting in only one measurement being taken before the device
immediately returns to power-down mode. The result is that all fast-ODR
rates (155 and higher) are not usable when assigned to CONFIG_LIS3MDL_ODR.

Continuous mode is the only mode truly supported by this driver and should
always be used.

Signed-off-by: Aedan Cullen <aedan@aedancullen.com>
2023-08-07 11:28:02 +02:00
..
a01nyub drivers: sensor: a01nyub: added driver 2023-07-26 13:28:28 +02:00
adt7310 drivers: sensor: Add adt7310 temperature sensor 2023-04-17 10:06:04 -05:00
adt7420 drivers: sensor: adt7420: Store sensor trigger as a pointer 2023-03-20 09:52:35 +01:00
adxl345 drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
adxl362 drivers: sensor: adxl362: coverity: 316152 unchecked return value 2023-07-12 10:53:56 -05:00
adxl372 drivers: sensor: adxl372: fix software reset delay 2023-05-26 14:56:55 -04:00
ak8975 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
akm09918c drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
amg88xx drivers: sensor: amg88xx: Store sensor trigger as a pointer 2023-03-20 09:52:35 +01:00
ams_as5600 sensors: as5600: added as5600 2023-01-19 15:18:24 -06:00
ams_iAQcore drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
apds9960 drivers: sensors: apds9960 fix trigger callback context 2023-03-15 22:39:45 +00:00
bh1750 drivers: sensor: Add support for BH1750 ambient light sensor 2023-02-19 20:44:34 -05:00
bma280 drivers: sensor: bma280: Store sensor trigger as a pointer 2023-03-20 09:52:35 +01:00
bmc150_magn drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
bme280 sensor: bme280: BMP280 has no humidity sensor 2023-07-27 08:46:40 -05:00
bme680 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
bmg160 drivers: sensor: Fix bmg160 build with trigger disabled 2023-04-11 19:25:46 -04:00
bmi08x drivers: sensors: bmi08x: add initial support for bmi08x 2023-07-12 14:53:16 -05:00
bmi160 emul: Migrate all emulation use to use DT_HAS_ 2023-04-28 08:37:33 -05:00
bmi270 drivers: sensor: Fix bmi270 build with trigger enabled 2023-04-11 19:25:46 -04:00
bmi323 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
bmm150 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
bmp388 sensors: bmp388: allow mix of instances with and without int gpio 2023-07-24 09:08:18 +00:00
bq274xx sensor: bq274xx: use two bytes write for settings 2023-07-21 09:07:46 -05:00
ccs811 drivers: sensor: Fix ccs811 build with trigger enabled 2023-04-11 19:25:46 -04:00
dht sensor: dht: return error if channel not supported 2023-08-01 09:51:25 +02:00
dps310 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
ds18b20 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
ens210 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
esp32_temp soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
fdc2x1x drivers: fdc2x1x: Fix compilation error 2023-07-18 11:09:08 +00:00
fxas21002 drivers: sensor: fxas21002: Store sensor trigger as a pointer 2023-03-20 09:52:35 +01:00
fxos8700 drivers: sensor: fxos8700: Store sensor trigger as a pointer 2023-03-20 09:52:35 +01:00
grove drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
grow_r502a drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
hmc5883l drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
hp206c drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
hts221 drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
i3g4250d modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.02 2023-04-14 10:51:15 -05:00
icm42605 drivers: sensor: icm42605: Store sensor trigger as a pointer 2023-03-20 09:52:35 +01:00
icm42670 drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
icm42688 sensors: icm42688: ensure SENSOR_ASYNC_API is selected 2023-07-21 14:12:13 +00:00
icp10125 drivers: sensor: Add support ICP10125 pressure and temperature sensor 2022-12-28 10:44:16 +01:00
iis2dh modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.02 2023-04-14 10:51:15 -05:00
iis2dlpc drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
iis2iclx drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
iis2mdc modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.02 2023-04-14 10:51:15 -05:00
iis3dhhc modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.02 2023-04-14 10:51:15 -05:00
ina23x drivers: sensor: ina23x: calculate cal at compile. 2023-07-07 09:21:23 +02:00
ina219 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
ina3221 drivers: sensor: Add driver for TI INA3221 2023-04-26 20:08:04 +02:00
isl29035 drivers: sensor: isl29035: Store sensor trigger as a pointer 2023-03-23 12:56:20 +01:00
ism330dhcx sensor: ism330dhcx: Incorrect handle passed to ctx struct in SPI mode 2023-07-07 09:18:41 +00:00
ist8310 sensors: ist8310: New driver 2023-08-04 17:30:02 -05:00
ite_tach_it8xxx2 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
ite_vcmp_it8xxx2 init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
lis2dh drivers/sensor: lis2dh: move h/w reg debug print right after it is read 2023-07-10 10:00:48 +00:00
lis2ds12 drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
lis2dw12 drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
lis2mdl drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
lis3mdl drivers: sensor: lis3mdl: always use continuous mode 2023-08-07 11:28:02 +02:00
lm75 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
lm77 drivers: sensor: lm77: use DT_ANY_INST_HAS_PROP_STATUS_OKAY 2023-04-24 09:21:36 -05:00
lps22hb drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
lps22hh drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
lps25hb drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
lsm6ds0 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
lsm6dsl drivers: sensor: lsm6dsl: Fix lsm6dsl gyroscope full range setting 2023-05-16 11:22:58 -05:00
lsm6dso drivers/sensor: check xyz_mem_bank_set() ret value 2023-07-18 09:54:44 +00:00
lsm6dso16is drivers/sensor: check xyz_mem_bank_set() ret value 2023-07-18 09:54:44 +00:00
lsm6dsv16x drivers/sensor: check xyz_mem_bank_set() ret value 2023-07-18 09:54:44 +00:00
lsm9ds0_gyro drivers: sensor: lsm9ds0_gyro: Store sensor trigger as a pointer 2023-03-23 12:56:20 +01:00
lsm9ds0_mfd drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
lsm303dlhc_magn drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
max6675 drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
max17055 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
max17262 sensors: max17262: Run clang-format 2023-08-02 09:53:45 +00:00
max30101 drivers: sensors: Fix MAX30101 Kconfig description. 2022-11-22 13:07:03 +09:00
max31855 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
max31865 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
max31875 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
max44009 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
mchp_tach_xec drivers: all: mchp_xec: remove conditional support for pinctrl 2023-04-24 13:34:22 +02:00
mcp970x drivers: adc: use adc_is_ready_dt helper function 2023-07-17 10:16:22 +00:00
mcp9600 drivers: sensor: mcp9600 add intial driver support 2023-05-23 13:33:45 -05:00
mcp9808 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
mcux_acmp drivers: sensor: mcux_acmp: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
mhz19b drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
mpr drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
mpu6050 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
mpu9250 drivers: sensor: mpu9250: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
ms5607 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
ms5837 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
npm1300_charger drivers: sensor: npm1300_charger: Added Ntc threshold config 2023-07-05 12:59:38 +02:00
nrf5 drivers: temp_nrf5: Fix warning in ISR prototype 2023-04-17 10:19:33 +02:00
ntc_thermistor drivers: adc: use adc_is_ready_dt helper function 2023-07-17 10:16:22 +00:00
nuvoton_adc_cmp_npcx drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
nuvoton_tach_npcx drivers: sensors: npcx_tach: Clear stale data 2023-05-30 13:04:28 -04:00
nxp_kinetis_temp drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
opt3001 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
pcnt_esp32 soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
pms7003 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
qdec_mcux drivers: sensor: qdec_mcux: fix fixed point conversion 2023-07-24 08:29:21 -05:00
qdec_nrfx drivers: sensor: qdec_nrfx: Clean up driver instantiation 2023-07-25 13:41:51 +02:00
qdec_sam treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
qdec_stm32 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
rpi_pico_temp drivers: sensors: Add support for RaspberryPi Pico CPU temperature 2023-01-19 15:32:41 -06:00
s11059 drivers: sensor: Support Hamamatsu Photonics S11059 Color Sensor 2023-04-18 17:07:48 -05:00
sbs_gauge emul: Fuel gauge tests direct access to emul_sbs 2023-04-21 09:39:00 +02:00
sgp40 crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
sht3xd drivers: sensor: sht3xd: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
sht4x crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
shtcx drivers: sensor: shtcx: fix val2 calculation 2023-06-15 08:47:30 -04:00
si7006 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
si7055 crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
si7060 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
si7210 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
sm351lt drivers: sensor: sm351lt: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
stm32_temp drivers: stm32_temp stm32h5 device must disable icache to access cal 2023-05-02 10:53:58 +02:00
stm32_vbat drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
stm32_vref drivers: sensor: Add STM32 VREF+ sensor 2023-05-23 08:54:20 +02:00
stmemsc drivers/sensor: stmemsc: add macros to populate stmdev_ctx_t structure 2023-05-09 16:23:15 +09:00
stts751 modules/hal_st: Align sensor drivers to stmemsc HAL i/f v2.02 2023-04-14 10:51:15 -05:00
sx9500 drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
tcn75a drivers: sensor: introduce driver for TCN75A temperature sensor 2023-06-17 08:01:16 -04:00
tcs3400 drivers: sensors: add a sensor driver for TCS3400 2023-05-25 13:30:45 +00:00
th02 drivers: sensor: th02: Handle unsupported channels 2023-02-28 10:58:52 -06:00
ti_hdc drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
ti_hdc20xx drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
tmd2620 drivers: sensor: tmd2620: coverity 316443 unchecked return value 2023-07-12 10:53:56 -05:00
tmp007 drivers: sensor: tmp007: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
tmp108 drivers: sensor: tmp108: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
tmp112 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
tmp116 drivers: sensor: Refactor drivers to use SENSOR_DEVICE_DT_INST_DEFINE 2022-10-27 09:27:14 +00:00
vcnl4040 drivers: sensor: vcnl4040: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
veml7700 drivers: sensor: Vishay VEML7700 ambient light sensor 2023-04-26 12:52:46 +02:00
vl53l0x drivers: sensor: vl53l0x: small fixes 2023-05-27 06:19:29 -04:00
vl53l1x drivers: sensor: Fix return value for unsupported channels 2023-08-01 11:59:34 +02:00
wsen_hids drivers: sensor: wsen_hids: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
wsen_itds drivers: sensor: fetch all channels on WSEN_ITDS sensor 2023-07-31 09:29:16 -05:00
wsen_pads drivers: sensor: Added driver for the Würth Elektronik WSEN-PADS sensor 2023-04-17 11:49:35 +02:00
wsen_pdus drivers: sensor: Added driver for the Würth Elektronik WSEN-PDUS sensor 2023-04-21 07:16:15 -05:00
wsen_tids drivers: sensor: wsen_tids: Store sensor trigger as a pointer 2023-04-08 18:38:02 +02:00
xmc4xxx_temp drivers: sensor: Add infineon xmc4xxx die temperature sensor 2023-02-20 11:14:15 +01:00
CMakeLists.txt sensors: ist8310: New driver 2023-08-04 17:30:02 -05:00
default_rtio_sensor.c sensor_shell: Update to new sensor_read API 2023-05-26 11:04:54 -05:00
Kconfig sensors: ist8310: New driver 2023-08-04 17:30:02 -05:00
sensor_decoders_init.c sensors: Add new async one-shot reading API 2023-05-26 11:04:54 -05:00
sensor_handlers.c sensors: Add new async one-shot reading API 2023-05-26 11:04:54 -05:00
sensor_shell.c sensors: shell: implement rounding for q31_t 2023-08-07 11:26:02 +02:00
shell_battery.c shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00