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

◆ pulse_meas_configure()

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.

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