nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
sensor_sim.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_H_
8#define _SENSOR_SIM_H_
9
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20#include <zephyr/types.h>
21#include <zephyr/drivers/sensor.h>
22#include <wave_gen.h>
23
43int sensor_sim_set_wave_param(const struct device *dev,
44 enum sensor_channel chan,
45 const struct wave_gen_param *set_params);
46
47#ifdef __cplusplus
48}
49#endif
50
55#endif /* _SENSOR_SIM_H_ */
int sensor_sim_set_wave_param(const struct device *dev, enum sensor_channel chan, const struct wave_gen_param *set_params)
Set simulated acceleration parameters.
Generated wave parameters.
Definition wave_gen.h:40
Wave generator header.