Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pwm_fake.h
Go to the documentation of this file.
1/*
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
14extern "C" {
15#endif
16
17DECLARE_FAKE_VALUE_FUNC(int, fake_pwm_set_cycles, const struct device *, uint32_t, uint32_t,
19
20#ifdef __cplusplus
21}
22#endif
23
24#endif /* INCLUDE_DRIVERS_PWM_PWM_FAKE_H_ */
Public PWM Driver APIs.
#define DECLARE_FAKE_VALUE_FUNC(...)
Definition fff.h:8684
uint16_t pwm_flags_t
Provides a type to hold PWM configuration flags.
Definition pwm.h:81
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Runtime device structure (in ROM) per driver instance.
Definition device.h:411