zephyr/drivers/sensor
Peter Bigot a538dcd8f8 shell: refactor device_name_get implementation
Several shell modules use cloned code to iterate over all devices and
identify the nth instance that meets some criteria.  The code was
repetitive and included various errors.  Abstract to a helper function
that performs the check consistently.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-06-23 13:27:14 +02:00
..
adt7420 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
adxl345 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
adxl362 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
adxl372 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ak8975 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
amg88xx zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ams_iAQcore zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
apds9960 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bma280 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bmc150_magn zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bme280 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bme680 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bmg160 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bmi160 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bmm150 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bq274xx drivers: sensor: Check i2c device pointer is non-null in bq274xx 2020-06-17 09:31:16 +02:00
ccs811 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dht zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dps310 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ens210 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
fxas21002 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
fxos8700 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
grove zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hmc5883l zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hp206c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
hts221 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
iis2dlpc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
iis2mdc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
iis3dhhc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
isl29035 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ism330dhcx zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lis2dh zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lis2ds12 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lis2dw12 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lis2mdl zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lis3mdl zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lps22hb zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lps22hh zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lps25hb zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lsm6ds0 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lsm6dsl zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lsm6dso zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lsm9ds0_gyro zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lsm9ds0_mfd zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
lsm303dlhc_magn zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
max30101 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
max44009 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mchp_tach_xec zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mcp9808 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mpr zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mpu6050 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ms5607 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ms5837 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nrf5 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nxp_kinetis_temp zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
opt3001 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pms7003 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
qdec_nrfx zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sht3xd zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
si7006 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
si7060 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
stts751 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sx9500 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
th02 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ti_hdc zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tmp007 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tmp112 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tmp116 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
vl53l0x zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt sensor: add sensor driver for Infineon DPS310 2020-05-14 11:02:29 +02:00
Kconfig sensor: add sensor driver for Infineon DPS310 2020-05-14 11:02:29 +02:00
sensor_handlers.c drivers: sensor: add api function for getting a sensor attribute 2020-06-17 17:13:14 +02:00
sensor_shell.c shell: refactor device_name_get implementation 2020-06-23 13:27:14 +02:00