Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fake_comp.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_
14#define ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_
15
17#include <zephyr/fff.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
43
46 comp_fake_comp_get_output,
47 const struct device *);
48
51 comp_fake_comp_set_trigger,
52 const struct device *,
54
57 comp_fake_comp_set_trigger_callback,
58 const struct device *,
60 void *);
61
64 comp_fake_comp_trigger_is_pending,
65 const struct device *);
66
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif /* ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_ */
Main header file for comparator driver API.
#define DECLARE_FAKE_VALUE_FUNC(...)
Definition fff.h:8684
void(* comparator_callback_t)(const struct device *dev, void *user_data)
Comparator callback template.
Definition comparator.h:50
comparator_trigger
Comparator trigger enumerations.
Definition comparator.h:33
Runtime device structure (in ROM) per driver instance.
Definition device.h:525