![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| int sensorsim_measure | ( | struct sensorsim_state * | state, |
| uint32_t * | value ) |
#include <sensorsim.h>
Function for generating a simulated sensor measurement using a triangular wave generator.
| [in,out] | state | Current state of simulator. |
| [out] | value | Simulator output value. |
| 0 | On success. |
| -EFAULT | If state or value is NULL. |