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

Output configuration parameters. More...

Public Attributes

float duty = 0.0f
 Initial duty cycle ratio (0.0 to 1.0).
 
int hpoint = 0
 High point in the PWM cycle.
 
bool output_invert = false
 Invert the output signal.
 
enum sleep_mode sleep_mode = sleep_mode::no_alive_no_pd
 Behavior during light sleep.
 

Detailed Description

Output configuration parameters.

Definition at line 471 of file pwm.hpp.

Member Data Documentation

◆ duty

float idfxx::pwm::output_config::duty = 0.0f

Initial duty cycle ratio (0.0 to 1.0).

Definition at line 472 of file pwm.hpp.

◆ hpoint

int idfxx::pwm::output_config::hpoint = 0

High point in the PWM cycle.

Definition at line 473 of file pwm.hpp.

◆ output_invert

bool idfxx::pwm::output_config::output_invert = false

Invert the output signal.

Definition at line 474 of file pwm.hpp.

◆ sleep_mode

enum sleep_mode idfxx::pwm::output_config::sleep_mode = sleep_mode::no_alive_no_pd

Behavior during light sleep.

Definition at line 475 of file pwm.hpp.


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