![]() |
nRF Connect SDK API 3.4.99
|
| int pulse_meas_configure | ( | const struct device * | dev, |
| const struct pulse_meas_config * | cfg ) |
#include <include/drivers/pulse_meas.h>
Configure pulse width measurement.
Must be called before pulse_meas_start.
| dev | Pointer to the pulse width measurement device. |
| cfg | Pointer to the configuration structure. |
| 0 | On success. |
| -EINVAL | Invalid argument. |