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

◆ wave_gen_generate_value()

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.

Parameters
[in]timeTime for generated value.
[in]paramsParameters describing generated wave signal.
[out]out_valPointer to the variable that is used to store generated value.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.