picofuse

Data Fields
hw_pwm_config_t Struct Reference

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.
 

Detailed Description

PWM configuration.

When NULL is passed to hw_pwm_init, backend defaults are used.

Definition at line 66 of file pwm.h.


The documentation for this struct was generated from the following file: