From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- 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