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
14
extern
"C"
{
15
#endif
16
17
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_ */
pwm.h
Public PWM Driver APIs.
fff.h
DECLARE_FAKE_VALUE_FUNC
#define DECLARE_FAKE_VALUE_FUNC(...)
Definition
fff.h:8684
pwm_flags_t
uint16_t pwm_flags_t
Provides a type to hold PWM configuration flags.
Definition
pwm.h:81
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
device
Runtime device structure (in ROM) per driver instance.
Definition
device.h:411
zephyr
drivers
pwm
pwm_fake.h
Generated on Thu Jan 9 2025 06:02:41 for Zephyr API Documentation by
1.12.0