diff options
author | Peter Rosin <peda@axentia.se> | 2016-11-08 12:58:58 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-11-13 14:07:17 +0100 |
commit | b475f80b354a1915fda1b34070d712b825b60543 (patch) | |
tree | 02777a8c1349ace429f1dfa3e58e15661fed1eb5 /drivers/iio/adc/ad7793.c | |
parent | dt-bindings: iio: document envelope-detector bindings (diff) | |
download | linux-b475f80b354a1915fda1b34070d712b825b60543.tar.xz linux-b475f80b354a1915fda1b34070d712b825b60543.zip |
iio: envelope-detector: ADC driver based on a DAC and a comparator
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:
_
| \
input +------>-------|+ \
| \
.-------. | }---.
| | | / |
| dac|-->--|- / |
| | |_/ |
| | |
| | |
| irq|------<-------'
| |
'-------'
Signed-off-by: Peter Rosin <peda@axentia.se>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/ad7793.c')
0 files changed, 0 insertions, 0 deletions