![]() |
nRF Connect SDK API 3.4.99
|
| 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.
| dev | Pointer to the SAADCT device. |
| cfg | Pointer to the configuration structure. |
| 0 | On success. |
| -EINVAL | Invalid argument. |