From 05e59e5fb0064c97a1c10921ecd549f2d4a58565 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 09 Oct 2024 06:14:40 +0000 Subject: [PATCH] add REDIRECT --- 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