![]() |
Edge AI Add-on API 2.3.0
|
| int data_fwd_sensor_stop | ( | void | ) |
#include <samples/data_forwarder/src/sensor/data_fwd_sensor.h>
Stop sensor sampling.
Disables periodic sampling in the selected sensor driver. Implementations stop the fetch timer and reset the internal sample-ready semaphore with k_sem_reset(), clearing any pending tick signalled before stop.
k_sem_reset() aborts outstanding takes with -EAGAIN.| 0 | Success. |
| -errno | Negative error code on failure. |