HAL  v0.6.1
Hardware Abstraction Layer
Loading...
Searching...
No Matches
pwm_channel_attr_t Struct Reference
HAL » PWM

#include <hal_pwm.h>

Data Fields

gpio_pin_t pin
 
uint8_t duty_cycle_pcnt
 duty cycle in percent
 
uint32_t freq
 PWM frequency.
 
pwm_alignment_t alignment
 

Field Documentation

◆ alignment

pwm_alignment_t pwm_channel_attr_t::alignment

◆ duty_cycle_pcnt

uint8_t pwm_channel_attr_t::duty_cycle_pcnt

duty cycle in percent

◆ freq

uint32_t pwm_channel_attr_t::freq

PWM frequency.

◆ pin

gpio_pin_t pwm_channel_attr_t::pin

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