ESPHome  2024.11.2
Static Public Member Functions | Data Fields
esphome::duty_cycle::DutyCycleSensorStore Struct Reference

Store data in a class that doesn't use multiple-inheritance (vtables in flash) More...

#include <duty_cycle_sensor.h>

Static Public Member Functions

static void gpio_intr (DutyCycleSensorStore *arg)
 

Data Fields

volatile uint32_t last_interrupt {0}
 
volatile uint32_t on_time {0}
 
volatile bool last_level {false}
 
ISRInternalGPIOPin pin
 

Detailed Description

Store data in a class that doesn't use multiple-inheritance (vtables in flash)

Definition at line 11 of file duty_cycle_sensor.h.

Member Function Documentation

◆ gpio_intr()

void IRAM_ATTR esphome::duty_cycle::DutyCycleSensorStore::gpio_intr ( DutyCycleSensorStore arg)
static

Definition at line 49 of file duty_cycle_sensor.cpp.

Field Documentation

◆ last_interrupt

volatile uint32_t esphome::duty_cycle::DutyCycleSensorStore::last_interrupt {0}

Definition at line 12 of file duty_cycle_sensor.h.

◆ last_level

volatile bool esphome::duty_cycle::DutyCycleSensorStore::last_level {false}

Definition at line 14 of file duty_cycle_sensor.h.

◆ on_time

volatile uint32_t esphome::duty_cycle::DutyCycleSensorStore::on_time {0}

Definition at line 13 of file duty_cycle_sensor.h.

◆ pin

ISRInternalGPIOPin esphome::duty_cycle::DutyCycleSensorStore::pin

Definition at line 15 of file duty_cycle_sensor.h.


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