SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Public Attributes | List of all members
sunxi_pwm_config Struct Reference

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.
 

Detailed Description

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.

Member Data Documentation

◆ duty_ns

uint32_t sunxi_pwm_config::duty_ns

The duty cycle duration in nanoseconds.

◆ period_ns

uint32_t sunxi_pwm_config::period_ns

The total period duration in nanoseconds.

◆ pluse_count

uint32_t sunxi_pwm_config::pluse_count

The number of pulses in pulse mode operation.

◆ polarity

sunxi_pwm_polarity_t sunxi_pwm_config::polarity

The polarity of the PWM signal.

◆ pwm_mode

sunxi_pwm_mode_t sunxi_pwm_config::pwm_mode

The mode of operation for the PWM signal.


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