From 151fecfb72a0d602dfe79790602ef64b4e241574 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 19 Feb 2024 01:51:07 +0000 Subject: [PATCH] export RK_PA3 --- kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector b/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector index 2071f9b..1c2a07f 100644 --- a/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector +++ b/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-envelope-detector @@ -5,7 +5,8 @@ Description: The DAC is used to find the peak level of an alternating voltage input signal by a binary search using the output - of a comparator wired to an interrupt pin. Like so: + of a comparator wired to an interrupt pin. Like so:: + _ | \ input +------>-------|+ \ @@ -19,10 +20,12 @@ | irq|------<-------' | | '-------' + The boolean invert attribute (0/1) should be set when the input signal is centered around the maximum value of the dac instead of zero. The envelope detector will search from below in this case and will also invert the result. + The edge/level of the interrupt is also switched to its opposite value. -- Gitblit v1.6.2