Struct SYN_SoftPWM¶
Software PWM channel descriptor.
#include <syn_soft_pwm.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | active_high |
| uint16_t | counter |
| uint16_t | duty |
| SYN_GPIO_Pin | pin |
| uint16_t | resolution |
Public Attributes Documentation¶
variable active_high¶
true = GPIO high during on-phase
variable counter¶
Current phase counter
variable duty¶
Duty cycle (0 to resolution)
variable pin¶
Target GPIO pin identifier
variable resolution¶
Total steps per period (e.g., 100)
The documentation for this class was generated from the following file src/syntropic/output/syn_soft_pwm.h