summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorCosmin Tanislav <demonsingur@gmail.com>2022-02-14 09:38:07 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-21 19:33:05 +0000
commit89d185848633db2aa811131ac5db795d5366da78 (patch)
treefd90282894556152939bd0321216a87b2ca48828 /lib/mpi/mpi-mod.c
parenta1a5cfe70cd29a59a9a85290dfe95ed1c8df1193 (diff)
iio: ABI: document mag_referenced
Some accelerometers that support activity and inactivity events also support a referenced mode, in which the gravitational acceleration is taken as a point of reference before comparing the acceleration to the specified activity and inactivity magnitude. For example, in the case of the ADXL367, for activity detection, the formula is: abs(acceleration - reference) > magnitude Add a new event type that makes this behavior clear. Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Link: https://lore.kernel.org/r/20220214073810.781016-3-cosmin.tanislav@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions