nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
wave_gen.h File Reference

Wave generator header. More...

#include <zephyr/types.h>

Go to the source code of this file.

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

Wave generator header.