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

PWM channel configuration. More...

#include <sys-pwm.h>

Collaboration diagram for sunxi_pwm_channel:
Collaboration graph
[legend]

Public Attributes

gpio_mux_t pin
 GPIO pin used for the PWM signal.
 
uint32_t bind_channel
 The bind channel ID for multi-channel synchronization.
 
uint32_t dead_time
 Dead time (in nanoseconds) between signal transitions.
 
sunxi_pwm_channel_mode_t channel_mode
 The mode of the PWM channel.
 

Detailed Description

PWM channel configuration.

This structure defines the configuration of a PWM channel. It includes the GPIO pin, the bind channel for multi-channel operation, the dead time between signal transitions, and the channel mode.

Member Data Documentation

◆ bind_channel

uint32_t sunxi_pwm_channel::bind_channel

The bind channel ID for multi-channel synchronization.

◆ channel_mode

sunxi_pwm_channel_mode_t sunxi_pwm_channel::channel_mode

The mode of the PWM channel.

◆ dead_time

uint32_t sunxi_pwm_channel::dead_time

Dead time (in nanoseconds) between signal transitions.

◆ pin

gpio_mux_t sunxi_pwm_channel::pin

GPIO pin used for the PWM signal.


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