nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ saadct_configure()

int saadct_configure ( const struct device * dev,
const struct saadct_config * cfg )

#include <include/drivers/saadct.h>

Configure timer-triggered SAADC sampling.

Must be called before saadct_start.

Parameters
devPointer to the SAADCT device.
cfgPointer to the configuration structure.
Return values
0On success.
-EINVALInvalid argument.