nRF Connect SDK API
0.1.0
Loading...
Searching...
No Matches
sensor_stub.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
7
#ifndef _SENSOR_STUB_H_
8
#define _SENSOR_STUB_H_
9
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
#include <zephyr/types.h>
21
#include <zephyr/drivers/sensor.h>
22
40
void
*
sensor_stub_udata_get
(
const
struct
device *dev);
41
50
void
sensor_stub_udata_set
(
const
struct
device *dev,
void
*udata);
51
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
/* _SENSOR_STUB_H_ */
sensor_stub_udata_set
void sensor_stub_udata_set(const struct device *dev, void *udata)
Set user data.
sensor_stub_udata_get
void * sensor_stub_udata_get(const struct device *dev)
Get user data.
include
drivers
sensor_stub.h
Generated on Thu Sep 26 2024 10:53:16 for nRF Connect SDK API by
1.9.6