zephyr/drivers/sensor
Armando Visconti 9ea4cb96cd drivers/sensor/st: Fix wrong data byte swap for be
A 16-bit value built using byte shifts and ORs from a given
couple of lsb and msb bytes will result to be the same on both
little-endian and big-endian architectures, e.g.

    uint8_t lsb, msb;
    int16_t val;

    /* val is the same number on both le and be archs, but has
       different layout in memory */
    val = (msb << 8) | lsb;

All the xyz_raw_get() APIs of stmemsc sensor module build the sensor
data using the above method and DO NOT hence require (it actually leads
to wrong values on big-endian machines) to use any le/be swap routines,
such as sys_le16_to_cpu().

Fix #75758

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2024-08-27 07:07:52 -04:00
..
a01nyub
adi drivers: sensor: Fix adxl345 sample fetch return value 2024-08-23 09:53:28 +02:00
amd_sb_tsi sensors: Add channel specifier 2024-05-17 09:30:18 +02:00
amg88xx
ams drivers: sensor: Add attribute for gain and resolution 2024-08-15 10:16:12 +01:00
aosong drivers: sensor: Fix DHT20 build failure with CRC configured 2024-08-07 07:14:11 -04:00
apds9960
asahi_kasei sensor: akm09918c: Use RTIO workq on akm09918c_submit 2024-07-09 17:21:05 -04:00
bosch sensor: bme280: Use RTIO workq on bme280_submit 2024-07-09 17:21:05 -04:00
current_amp sensor: current_amp: fix fractional value 2024-06-11 20:11:53 +03:00
ene_tach_kb1200
ens160 sensor: fix fallthrough on sample_channel_get on AQI 2024-06-12 18:16:29 -04:00
espressif drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
explorir_m
f75303 sensors: Add channel specifier 2024-05-17 09:30:18 +02:00
fcx_mldx5
grow_r502a drivers: sensor: grow_r502a: add RX packet validation 2024-05-09 12:41:59 -04:00
honeywell
hp206c
hs300x
infineon
isl29035
ist8310
ite
lm35
lm75 sensor: lm75: Enforce dependency of int-gpios with Trigger feature 2024-06-25 14:16:28 -04:00
lm77
ltrf216a
maxim drivers: sensor: maxim: max31865: Fix fault bit clearing 2024-07-09 15:38:19 -04:00
mc3419 Drivers: Sensor: mc3419: Moved Decimation Rate config to DT 2024-08-26 18:51:28 +02:00
meas sensor: ms5837: fix compensate parameters for 30BA variant 2024-05-29 07:34:51 +02:00
mhz19b
microchip
nct75
nordic drivers: sensor: Add driver for nRF temperature sensor accessed via nrfs 2024-05-15 09:25:30 +01:00
ntc_thermistor sensor/ntc_thermistor: Corrected the type of adc values to accept 16 bits 2024-08-09 09:54:43 +02:00
nuvoton
nxp drivers: sensor: fxls8974: Added driver for this accelerometer 2024-08-19 10:00:34 -04:00
pms7003
qdec_sam drivers: counter: sam: Add qdec as tc special mode 2024-06-17 17:47:42 -04:00
rohm
rpi_pico_temp sensor: convert ADC depends on to select 2024-05-16 13:31:32 +02:00
s11059
sbs_gauge
seeed posix: deprecate POSIX_FNMATCH GETOPT GETENTROPY 2024-06-04 16:27:12 -05:00
sensirion drivers: sensor: sensirion: shtcx: remove chip property 2024-06-11 20:12:15 +03:00
silabs drivers/sensor: si7006: Switch to undef DT_DRV_COMPAT 2024-06-15 04:42:31 -04:00
st drivers/sensor/st: Fix wrong data byte swap for be 2024-08-27 07:07:52 -04:00
sx9500
tdk drivers: sensor: icm42670: Add I2C bus support 2024-08-16 14:08:44 -04:00
th02
ti style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
tsic_xx6 drivers: sensor: add Innovative Sensor Technology TSic xx6 driver 2024-05-16 18:57:24 -04:00
veaa_x_3 drivers: sensors: add veaa_x_3 proportional pressure regulator sensor 2024-05-18 15:56:09 +03:00
vishay drivers: vcnl36825t: fix power consumption issues 2024-08-09 09:55:07 +02:00
voltage_divider sensor: voltage_divider: don't pulse enable pin 2024-08-14 12:34:45 -04:00
wsen drivers: sensor: wsen_itds: fix device ID mismatch return value 2024-07-09 08:56:04 +02:00
CMakeLists.txt drivers: sensors: add veaa_x_3 proportional pressure regulator sensor 2024-05-18 15:56:09 +03:00
default_rtio_sensor.c sensor: fallback: Decouple RTIO request using RTIO workqueues service 2024-07-09 17:21:05 -04:00
Kconfig sensor: fallback: Decouple RTIO request using RTIO workqueues service 2024-07-09 17:21:05 -04:00
Kconfig.trigger_template
sensor_decoders_init.c
sensor_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
sensor_shell_stream.c
sensor_shell.c sensors: Fix shell missing channel types 2024-06-18 14:55:27 -04:00
sensor_shell.h
shell_battery.c