zephyr/drivers/sensor
Jilay Pandya 47fc9a1a59 drivers: sensor: tdk: fix icm42688 division by zero
There were code paths that could have lead to divide by zero given an
invalid scale setting for accel or gyro. In practice this should be an
invalid setup even before getting to these conversion functions. The
conversion functions now better show all valid values are accounted for
by using CODE_UNREACHABLE in the default case.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-12-07 11:02:28 +01:00
..
a01nyub drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
adi driver: sensor: adxl366: Add supp for adxl366 2024-12-03 15:48:01 +00:00
amd_sb_tsi drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
amg88xx drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ams drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
aosong drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
apds9253 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
apds9306 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
apds9960 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
asahi_kasei drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
bosch drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
current_amp drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ene_tach_kb1200 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ens160 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
espressif drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
explorir_m drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
f75303 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
fcx_mldx5 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
grow_r502a drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
hc_sr04 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
honeywell drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
hp206c drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
infineon drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ist8310 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ite drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
jedec drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
lm35 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
lm75 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
lm77 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ltrf216a drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
maxim drivers: sensor: max31865: fix compilation warning -Wdouble-promotion 2024-12-06 06:50:58 +01:00
meas drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
memsic drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
mhz19b drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
microchip drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
nct75 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
nordic drivers: sensor: npm1300_charger: Updating of discharge current limit 2024-12-05 15:18:23 +01:00
ntc_thermistor drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
nuvoton drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
nxp drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
pms7003 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
qdec_sam drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
renesas drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
rohm drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
rpi_pico_temp drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
s11059 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
sbs_gauge drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
seeed drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
sensirion drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
silabs drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
st sensors: lsm6dsv16x: Kconfig: Fix trigger mode 2024-12-05 12:30:28 +01:00
sx9500 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
tdk drivers: sensor: tdk: fix icm42688 division by zero 2024-12-07 11:02:28 +01:00
th02 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
ti drivers: sensor: tmp116: support set sample frequency 2024-12-03 19:57:06 +01:00
tsic_xx6 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
veaa_x_3 drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
vishay drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
voltage_divider drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
wsen drivers: sensor: Place API into iterable section 2024-12-02 22:04:55 +00:00
CMakeLists.txt drivers: sensor: hc-sr04: add driver 2024-11-16 14:00:34 -05:00
default_rtio_sensor.c drivers: sensor: default_rtio_sensor: fix limited range warning 2024-11-08 22:28:08 -06:00
Kconfig drivers: sensor: hc-sr04: add driver 2024-11-16 14:00:34 -05:00
Kconfig.trigger_template drivers/sensor: add Kconfig.trigger_template 2023-12-14 09:28:52 +01:00
sensor_decoders_init.c
sensor_handlers.c drivers: sensors: fix compile error due to conflicting types. 2024-09-17 14:57:32 -04:00
sensor_shell_stream.c sensors: Add streaming APIs 2023-11-10 12:16:46 -06:00
sensor_shell.c drivers: sensor: shell: Check sensor API type 2024-12-02 22:04:55 +00:00
sensor_shell.h sensors: Add streaming APIs 2023-11-10 12:16:46 -06:00
shell_battery.c