Skip to content

Commit

Permalink
Documentation: ABI: testing: add sysfs-bus-iio-temperature-max30210
Browse files Browse the repository at this point in the history
Add documentation for max30210 additional attributes

Signed-off-by: John Erasmus Mari Geronimo <[email protected]>
  • Loading branch information
jemfgeronimo committed Sep 12, 2024
1 parent eb2103c commit 9bd27aa
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions Documentation/ABI/testing/sysfs-bus-iio-temperature-max30210
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc_en
KernelVersion: 6.6
Contact: [email protected]
Description:
A read-only boolean value that indicates if Rate-of-Change
detection is enabled or disabled.

What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc_filter
KernelVersion: 6.6
Contact: [email protected]
Description:
A write-only value indicating the Rate-of-Change FIR filter
settings. This attribute selects the length of the Rate-of-
Change FIR filter.

Operation is not supported if Rate-of-Change detection of device
is disabled.

* "0" - 2 samples
* "1" - 3 samples
* "2" - 5 samples
* "3" - 9 samples
* "4" - 17 samples
* "5" - 33 samples
* "6" - 65 samples
* "7" - 65 samples

What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc_length
KernelVersion: 6.6
Contact: [email protected]
Description:
A read-only value indicating the number of temperature samples
selected in in_temp_roc_filter attribute.

Operation is not supported if Rate-of-Change detection of device
is disabled.

What: /sys/bus/iio/devices/iio:deviceX/in_temp_roc
KernelVersion: 6.6
Contact: [email protected]
Description:
A read-only value indicating the slope calculated for a set of
temperature measurements as programmed in in_temp_roc_filter
attribute.

Operation is not supported if Rate-of-Change detection of device
is disabled.

0 comments on commit 9bd27aa

Please sign in to comment.