24 void setup()
override;
25 float get_setup_priority()
const override;
26 void dump_config()
override;
27 void update()
override;
33 uint32_t last_update_{0};
Copy of GPIOPin that is safe to use from ISRs (with no virtual functions)
Store data in a class that doesn't use multiple-inheritance (vtables in flash)
This class simplifies creating components that periodically check a state.
volatile uint32_t on_time
static void gpio_intr(DutyCycleSensorStore *arg)
volatile uint32_t last_interrupt
Implementation of SPI Controller mode.
Base-class for all sensors.
void set_pin(InternalGPIOPin *pin)