PWM configuration. More...
#include <pwm.h>
Data Fields | |
| uint64_t | period_ns |
| Requested PWM period in nanoseconds. | |
| float | duty_percent |
| Requested duty cycle percentage in [0.0, 100.0]. | |
| bool | enabled |
| Initial output enable state. | |
PWM configuration.
When NULL is passed to hw_pwm_init, backend defaults are used.