Line data Source code
1 0 : /*
2 : * Copyright (c) 2024, Kickmaker
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #ifndef INCLUDE_DRIVERS_PWM_PWM_FAKE_H_
8 : #define INCLUDE_DRIVERS_PWM_PWM_FAKE_H_
9 :
10 : #include <zephyr/drivers/pwm.h>
11 : #include <zephyr/fff.h>
12 :
13 : #ifdef __cplusplus
14 : extern "C" {
15 : #endif
16 :
17 0 : DECLARE_FAKE_VALUE_FUNC(int, fake_pwm_set_cycles, const struct device *, uint32_t, uint32_t,
18 : uint32_t, pwm_flags_t);
19 :
20 : #ifdef __cplusplus
21 : }
22 : #endif
23 :
24 : #endif /* INCLUDE_DRIVERS_PWM_PWM_FAKE_H_ */
|