From 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 02:46:07 +0000 Subject: [PATCH] add audio --- 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