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

◆ ext_sensors_accelerometer_trigger_callback_set()

int ext_sensors_accelerometer_trigger_callback_set ( bool  enable)

#include <applications/asset_tracker_v2/src/ext_sensors/ext_sensors.h>

Enable or disable accelerometer trigger handler.

Parameters
[in]enableFlag that enables or disables callback triggers from the accelerometer.
Returns
0 on success or negative error value on failure.