From a5969cabbb4660eab42b6ef0412cbbd1200cf14d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 12 Oct 2024 07:10:09 +0000 Subject: [PATCH] 修改led为gpio --- 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