Skip to content
Commit 376b34ca authored by Jakub Zymelka's avatar Jakub Zymelka Committed by Benjamin Cabé
Browse files

drivers: adc: nrfx_saadc: Add support for SAADC internal sampling timer



The SAMPLERATE register can be used as a local timer instead
of triggering individual SAMPLE tasks. When SAMPLERATE.MODE is set
to Timers, it is sufficient to trigger SAMPLE task only once in order
to start the SAADC and triggering the STOP task will stop sampling.
The SAMPLERATE.CC field controls the sample rate.

The SAMPLERATE timer should not be combined with SCAN mode and
only one channel should be enabled when using the internal timer.

Signed-off-by: default avatarJakub Zymelka <jakub.zymelka@nordicsemi.no>
parent 44929f70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment