linux-kernelorg-stable/tools/iio
Antoniu Miclaus 70da020614 iio: add power and energy measurement modifiers
Add new IIO modifiers to support power and energy measurement devices:

Power modifiers:
- IIO_MOD_ACTIVE: Real power consumed by the load
- IIO_MOD_REACTIVE: Power that oscillates between source and load
- IIO_MOD_APPARENT: Magnitude of complex power

Signal quality modifiers:
- IIO_MOD_RMS: Root Mean Square value

Additionally adds:
- IIO_CHAN_INFO_POWERFACTOR: Power factor channel info type for
  representing the ratio of active power to apparent power

These modifiers enable proper representation of power measurement
devices like energy meters and power analyzers.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-09-13 13:47:19 +01:00
..
.gitignore
Build
Makefile tools: iio: rm .*.cmd when make clean 2024-09-05 19:27:13 +01:00
iio_event_monitor.c iio: add power and energy measurement modifiers 2025-09-13 13:47:19 +01:00
iio_generic_buffer.c iio: normalize array sentinel style 2025-04-22 19:10:04 +01:00
iio_utils.c tools: iio: replace seekdir() in iio_generic_buffer 2024-01-23 22:06:56 +00:00
iio_utils.h iio: event_monitor: Enable events before monitoring 2021-03-25 19:13:52 +00:00
lsiio.c