nRF Connect SDK API 2.8.99
|
int ei_wrapper_get_anomaly | ( | float * | anomaly | ) |
#include <include/ei_wrapper.h>
Get anomaly value.
This function can be executed only from the wrapper's callback context. Otherwise it returns a (negative) error code.
[out] | anomaly | Pointer to the variable that is used to store the anomaly. |
0 | On success. |
-EACCES | If function is executed from other context that the wrapper's callback. |
-ENOTSUP | If calculating anomaly value is not supported. |