mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
docs: iio: ad4062: Add IIO Trigger support
Explains the IIO Trigger support and timings involved. Signed-off-by: Jorge Marques <jorge.marques@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
d5284402d2
commit
c31721dc0b
@@ -84,3 +84,16 @@ Low-power mode
|
||||
The device enters low-power mode on idle to save power. Enabling an event puts
|
||||
the device out of the low-power since the ADC autonomously samples to assert
|
||||
the event condition.
|
||||
|
||||
IIO trigger support
|
||||
===================
|
||||
|
||||
An IIO trigger ``ad4062-devX`` is registered by the driver to be used by the
|
||||
same device, to capture samples to a software buffer. It is required to attach
|
||||
the trigger to the device by setting the ``current_trigger`` before enabling
|
||||
and reading the buffer.
|
||||
|
||||
The acquisition is sequential and bounded by the protocol timings, software
|
||||
latency and internal timings, the sample rate is not configurable. The burst
|
||||
averaging mode does impact the effective sample rate, since it increases the
|
||||
internal timing to output a single sample.
|
||||
|
||||
Reference in New Issue
Block a user