zephyr/samples/sensor
Ramakrishna Pallala e1639b5345 device: Extend device_set_power_state API to support async requests
The existing device_set_power_state() API works only in synchronous
mode and this is not desirable for devices(ex: Gyro) which take
longer time (few 100 mSec) to suspend/resume.

To support async mode, a new callback argument is added to the API.
The device drivers can asynchronously suspend/resume and call the
callback function upon completion of the async request.

This commit adds the missing callback parameter to all the drivers
to make it compliant with the new API.

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2019-03-14 14:26:15 +01:00
..
adt7420 samples: sensors: adt7420: Fail gracefully if sensor not found 2019-01-30 21:03:44 -05:00
adxl372 sensor: adxl372: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-30 17:51:25 -06:00
amg88xx cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
apds9960 device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
bme280 sensor: bme280: Converting to using device tree 2019-01-16 12:39:37 -06:00
bmg160 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
bmi160 sensor: bmi160: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-18 12:53:53 -06:00
bmm150 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ccs811 sensor: ccs811: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-30 02:53:35 -06:00
fxas21002 sensor: fxas21002: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-18 08:54:31 -06:00
fxos8700 sensor: fxos8700: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-17 13:29:46 -06:00
fxos8700-hid samples: fxos8700-hid: Use HID Device interface 2019-02-08 11:23:04 -05:00
grove_light cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
grove_temperature cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
hts221 samples: sensors: hts221: support triggered readings 2019-01-29 17:50:02 +01:00
lsm6dsl driver/sensor: lsm6dsl: align driver to auto-generated dts macros 2019-01-28 10:01:19 -06:00
lsm303dlhc driver/sensor: use lis2dh as common driver among multiple sensors 2019-01-24 07:26:16 -06:00
magn_polling cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
max30101 sensor: max30101: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-18 12:50:12 -06:00
max44009 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
mcp9808 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
ms5837 sensor: ms5837: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-29 15:26:28 -06:00
sht3xd drivers: sht3xd: update to new I2C API 2019-02-07 22:04:28 -05:00
sx9500 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
th02 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
thermometer arch/x86_64: New architecture added 2019-01-11 15:18:52 -05:00
tmp112 cmake: increase minimal required version to 3.13.1 2019-01-03 11:51:29 -05:00
vl53l0x sensor: vl53l0x: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-18 12:52:14 -06:00
sensor.rst