Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
Container for PWM information specified in devicetree. More...
#include <pwm.h>
Data Fields | |
const struct device * | dev |
PWM device instance. | |
uint32_t | channel |
Channel number. | |
uint32_t | period |
Period in nanoseconds. | |
pwm_flags_t | flags |
Flags. | |
Container for PWM information specified in devicetree.
This type contains a pointer to a PWM device, channel number (controlled by the PWM device), the PWM signal period in nanoseconds and the flags applicable to the channel. Note that not all PWM drivers support flags. In such case, flags will be set to 0.
uint32_t pwm_dt_spec::channel |
Channel number.
const struct device* pwm_dt_spec::dev |
PWM device instance.
pwm_flags_t pwm_dt_spec::flags |
Flags.
uint32_t pwm_dt_spec::period |
Period in nanoseconds.