nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
Wave generator

Library for generating wave signals. More...

Data Structures

struct  wave_gen_param
 Generated wave parameters. More...
 

Enumerations

enum  wave_gen_type {
  WAVE_GEN_TYPE_SINE , WAVE_GEN_TYPE_TRIANGLE , WAVE_GEN_TYPE_SQUARE , WAVE_GEN_TYPE_NONE ,
  WAVE_GEN_TYPE_COUNT
}
 Available generated wave types. More...
 

Functions

int wave_gen_generate_value (uint32_t time, const struct wave_gen_param *params, double *out_val)
 Generate wave value.
 

Detailed Description

Library for generating wave signals.