Zephyr API Documentation 4.2.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
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
19 const struct device *);
20
23 const struct device *,
25
28 const struct device *,
30 void *);
31
34 const struct device *);
35
36#ifdef __cplusplus
37}
38#endif
39
40#endif /* ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_FAKE_H_ */
Main header file for comparator driver API.
int comp_fake_comp_set_trigger_callback(const struct device *arg0, comparator_callback_t arg1, void *arg2)
int comp_fake_comp_set_trigger(const struct device *arg0, enum comparator_trigger arg1)
int comp_fake_comp_trigger_is_pending(const struct device *arg0)
int comp_fake_comp_get_output(const struct device *arg0)
#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:510