ESPHome  2021.11.4
Data Structures | Enumerations | Functions
esphome::ac_dimmer Namespace Reference

Data Structures

class  AcDimmer
 
struct  AcDimmerDataStore
 

Enumerations

enum  DimMethod { DIM_METHOD_LEADING_PULSE = 0, DIM_METHOD_LEADING, DIM_METHOD_TRAILING }
 

Functions

uint32_t IRAM_ATTR HOT timer_interrupt ()
 Run timer interrupt code and return in how many µs the next event is expected. More...
 

Enumeration Type Documentation

◆ DimMethod

Enumerator
DIM_METHOD_LEADING_PULSE 
DIM_METHOD_LEADING 
DIM_METHOD_TRAILING 

Definition at line 12 of file ac_dimmer.h.

Function Documentation

◆ timer_interrupt()

uint32_t IRAM_ATTR HOT esphome::ac_dimmer::timer_interrupt ( )

Run timer interrupt code and return in how many µs the next event is expected.

Definition at line 72 of file ac_dimmer.cpp.