qemu/hw/sensor
Kevin Townsend 4fd1ebb105 hw/sensor: Add lsm303dlhc magnetometer device
This commit adds emulation of the magnetometer on the LSM303DLHC.
It allows the magnetometer's X, Y and Z outputs to be set via the
mag-x, mag-y and mag-z properties, as well as the 12-bit
temperature output via the temperature property. Sensor can be
enabled with 'CONFIG_LSM303DLHC_MAG=y'.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
Message-id: 20220130095032.35392-1-kevin.townsend@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2022-02-08 10:56:29 +00:00
..
adm1272.c
dps310.c hw/misc: Add Infineon DPS310 sensor model 2021-09-20 08:50:59 +02:00
emc141x.c
Kconfig hw/sensor: Add lsm303dlhc magnetometer device 2022-02-08 10:56:29 +00:00
lsm303dlhc_mag.c hw/sensor: Add lsm303dlhc magnetometer device 2022-02-08 10:56:29 +00:00
max34451.c hw/misc: add MAX34451 device 2021-07-08 14:42:00 -05:00
meson.build hw/sensor: Add lsm303dlhc magnetometer device 2022-02-08 10:56:29 +00:00
tmp105.c
tmp421.c