Skip to content

Commit 6792eb0

Browse files
committed
ABI: Add angular correction and filter attributes
Add ABI documentation for ADMT4000 sysfs attributes: - phase and magnitude correction for harmonics - filter enable control Signed-off-by: adiceline <celinejoy.capua@analog.com>
1 parent 1774b9a commit 6792eb0

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
What: /sys/bus/iio/devices/deviceX/in_angl_h1ph_corr
2+
What: /sys/bus/iio/devices/deviceX/in_angl_h2ph_corr
3+
What: /sys/bus/iio/devices/deviceX/in_angl_h3ph_corr
4+
What: /sys/bus/iio/devices/deviceX/in_angl_h8ph_corr
5+
KernelVersion: 6.6.0
6+
Contact: linux-iio@vger.kernel.org
7+
Description:
8+
These attributes expose per-harmonic phase correction angles used by the
9+
device to compensate for phase errors in signal measurement. Each attribute
10+
corresponds to a specific harmonic order (h1, h2, h3, h8).
11+
12+
What: /sys/bus/iio/devices/deviceX/in_angl_h1mag_corr
13+
What: /sys/bus/iio/devices/deviceX/in_angl_h2mag_corr
14+
What: /sys/bus/iio/devices/deviceX/in_angl_h3mag_corr
15+
What: /sys/bus/iio/devices/deviceX/in_angl_h8mag_corr
16+
KernelVersion: 6.6.0
17+
Contact: linux-iio@vger.kernel.org
18+
Description:
19+
These attributes expose per-harmonic magnitude correction factors used by
20+
the device to compensate for amplitude errors in harmonic signal measurement.
21+
Each attribute corresponds to a specific harmonic order (h1, h2, h3, h8).
22+
23+
What: /sys/bus/iio/devices/deviceX/in_angl_h8_corr_src
24+
KernelVersion: 6.6.0
25+
Contact: linux-iio@vger.kernel.org
26+
Description:
27+
This attribute selects the source of the correction coefficients for the 8th
28+
harmonic angular measurement.
29+
30+
What: /sys/bus/iio/devices/deviceX/in_angl_h8_corr_src_available
31+
KernelVersion: 6.6.0
32+
Contact: linux-iio@vger.kernel.org
33+
Description:
34+
Supported values are "factory" for built-in device calibration and "user"
35+
for software-provided calibration data.
36+
37+
What: /sys/bus/iio/devices/deviceX/in_angl_filter_en
38+
KernelVersion: 6.6.0
39+
Contact: linux-iio@vger.kernel.org
40+
Description:
41+
Enable or disable the device's angle measurement filter.

0 commit comments

Comments
 (0)