idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::pwm::fade_param Struct Reference

Parameters for a single step in a multi-step hardware fade. More...

Public Attributes

bool increasing
 Duty change direction: true = increase, false = decrease.
 
uint32_t cycle_num
 Number of PWM cycles per step.
 
uint32_t scale
 Duty change per step.
 
uint32_t step_num
 Total number of steps.
 

Detailed Description

Parameters for a single step in a multi-step hardware fade.

Definition at line 126 of file pwm.hpp.

Member Data Documentation

◆ cycle_num

uint32_t idfxx::pwm::fade_param::cycle_num

Number of PWM cycles per step.

Definition at line 128 of file pwm.hpp.

◆ increasing

bool idfxx::pwm::fade_param::increasing

Duty change direction: true = increase, false = decrease.

Definition at line 127 of file pwm.hpp.

◆ scale

uint32_t idfxx::pwm::fade_param::scale

Duty change per step.

Definition at line 129 of file pwm.hpp.

◆ step_num

uint32_t idfxx::pwm::fade_param::step_num

Total number of steps.

Definition at line 130 of file pwm.hpp.


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