![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
PWM configuration parameters. More...
#include <sys-pwm.h>
Public Attributes | |
| uint32_t | duty_ns |
| The duty cycle duration in nanoseconds. | |
| uint32_t | period_ns |
| The total period duration in nanoseconds. | |
| sunxi_pwm_polarity_t | polarity |
| The polarity of the PWM signal. | |
| sunxi_pwm_mode_t | pwm_mode |
| The mode of operation for the PWM signal. | |
| uint32_t | pluse_count |
| The number of pulses in pulse mode operation. | |
PWM configuration parameters.
This structure defines the parameters for configuring the PWM signal's behavior, including the duty cycle, period, polarity, operating mode, and pulse count.
| uint32_t sunxi_pwm_config::duty_ns |
The duty cycle duration in nanoseconds.
| uint32_t sunxi_pwm_config::period_ns |
The total period duration in nanoseconds.
| uint32_t sunxi_pwm_config::pluse_count |
The number of pulses in pulse mode operation.
| sunxi_pwm_polarity_t sunxi_pwm_config::polarity |
The polarity of the PWM signal.
| sunxi_pwm_mode_t sunxi_pwm_config::pwm_mode |
The mode of operation for the PWM signal.