nRF Connect SDK API
2.8.0
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
17
extern
"C"
{
18
#endif
19
20
#include <zephyr/types.h>
21
#include <zephyr/drivers/sensor.h>
22
#include <
wave_gen.h
>
23
43
int
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_ */
sensor_sim_set_wave_param
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.
wave_gen_param
Generated wave parameters.
Definition
wave_gen.h:40
wave_gen.h
Wave generator header.
include
drivers
sensor_sim.h
Generated on Thu Nov 14 2024 12:11:44 for nRF Connect SDK API by
1.12.0