![]() |
nRF Connect SDK API 3.4.99
|
| int dult_test_motion_detector_separated_ut_period_set | ( | const struct dult_test_motion_detector_separated_ut_period * | data | ) |
#include <include/dult/test.h>
Override the DULT motion detector separated UT timing parameters.
Replaces the compile-time Kconfig defaults with the supplied runtime values. The new values take effect on the next timer arm; any already-running timer is not restarted.
This API can only be used when the
CONFIG_DULT_MOTION_DETECTOR_TEST_MODE
Kconfig option is enabled. That option depends on
CONFIG_DULT_MOTION_DETECTOR
, so the motion detector feature and its functionality must be available for this API to have any effect.
| [in] | data | New timing parameters, in seconds. Each field must not exceed DULT_TEST_MOTION_DETECTOR_PERIOD_MAX. dult_test_motion_detector_separated_ut_period::timeout_max must be greater than or equal to dult_test_motion_detector_separated_ut_period::timeout_min. |