7#include <zephyr/device.h>
16 void setup()
override;
Base class for all output components that can output a variable level, like PWM.
void dump_config() override
float get_setup_priority() const override
HARDWARE setup_priority.
const struct device * device_
ZephyrPWMChannel(const struct device *device, uint8_t channel, bool pin_inverted, uint32_t period_ns)
void write_state(float state) override
constexpr float HARDWARE
For components that deal with hardware and are very important like GPIO switch.