nRF Connect SDK API
2.8.99
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 Tue Nov 5 2024 13:54:05 for nRF Connect SDK API by
1.12.0