nRF Connect SDK API 2.8.0
|
int wave_gen_generate_value | ( | uint32_t | time, |
const struct wave_gen_param * | params, | ||
double * | out_val ) |
#include <include/wave_gen.h>
Generate wave value.
[in] | time | Time for generated value. |
[in] | params | Parameters describing generated wave signal. |
[out] | out_val | Pointer to the variable that is used to store generated value. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |