Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | iio: envelope-detector: ADC driver based on a DAC and a comparator | Peter Rosin | 2016-11-13 | 1 | -0/+36 |
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> |