Zephyr API Documentation 4.0.0-rc3
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
7#ifndef ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_
8#define ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_
9
11#include <zephyr/fff.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
18 comp_fake_comp_get_output,
19 const struct device *);
20
22 comp_fake_comp_set_trigger,
23 const struct device *,
25
27 comp_fake_comp_set_trigger_callback,
28 const struct device *,
30 void *);
31
33 comp_fake_comp_trigger_is_pending,
34 const struct device *);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_ */
#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:39
comparator_trigger
Comparator trigger enumerations.
Definition comparator.h:27
Runtime device structure (in ROM) per driver instance.
Definition device.h:412