aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDimitri Fedrau <[email protected]>2024-02-14 09:53:45 +0100
committerJonathan Cameron <[email protected]>2024-02-17 16:16:12 +0000
commit3ad0e7e5f0cb4d1cb1f1fb687d10e45cabf1928c (patch)
treeb854e21b27ab5150911b4486e14e75241fa42dac /tools/perf/scripts/python/export-to-sqlite.py
parent9f9bfae410e6cdfa454e779c9ef3b737a213ce2c (diff)
iio: humidity: hdc3020: add threshold events support
Add threshold events support for temperature and relative humidity. To enable them the higher and lower threshold registers must be programmed and the higher threshold must be greater then or equal to the lower threshold. Otherwise the event is disabled. Invalid hysteresis values are ignored by the device. There is no further configuration possible. Tested by setting thresholds/hysteresis and turning the heater on/off. Used iio_event_monitor in tools/iio to catch events while constantly displaying temperature and humidity values. Signed-off-by: Dimitri Fedrau <[email protected]> Tested-by: Javier Carrasco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions