nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
sensor_sim_ctrl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _SENSOR_SIM_CTRL_H_
8#define _SENSOR_SIM_CTRL_H_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include <zephyr/types.h>
15#include <zephyr/drivers/sensor.h>
16#include <wave_gen.h>
17
18struct sim_wave {
19 const char *label;
21};
22
24 enum sensor_channel chan;
25 const struct sim_wave *waves;
26 uint8_t waves_cnt;
27};
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* _SENSOR_SIM_CTRL_H_ */
enum sensor_channel chan
Definition sensor_sim_ctrl.h:24
const struct sim_wave * waves
Definition sensor_sim_ctrl.h:25
uint8_t waves_cnt
Definition sensor_sim_ctrl.h:26
Definition sensor_sim_ctrl.h:23
const char * label
Definition sensor_sim_ctrl.h:19
struct wave_gen_param wave_param
Definition sensor_sim_ctrl.h:20
Definition sensor_sim_ctrl.h:18
Generated wave parameters.
Definition wave_gen.h:40
Wave generator header.