iio: Add IIO_DELTA_VELOCITY channel type
The delta velocity is defined as a piece-wise integration of acceleration data. The delta velocity represents the linear velocity change between two consecutive measurements and it is measured in m / s (meters per second). In order to track the total linear velocity change during a desired period of time, simply sum-up the delta velocity samples acquired during that time. IIO currently does not offer a suitable channel type for this type of measurements hence this patch adds it. Signed-off-by:Ramona Bolboaca <ramona.bolboaca@analog.com> Reviewed-by:
Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20230808075059.645525-3-ramona.bolboaca@analog.com Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Showing
- Documentation/ABI/testing/sysfs-bus-iio 23 additions, 0 deletionsDocumentation/ABI/testing/sysfs-bus-iio
- drivers/iio/industrialio-core.c 1 addition, 0 deletionsdrivers/iio/industrialio-core.c
- include/uapi/linux/iio/types.h 1 addition, 0 deletionsinclude/uapi/linux/iio/types.h
- tools/iio/iio_event_monitor.c 2 additions, 0 deletionstools/iio/iio_event_monitor.c
Loading
Please register or sign in to comment