ESPHome
2024.11.0
|
Store data in a class that doesn't use multiple-inheritance (vtables in flash) More...
#include <pulse_width.h>
Public Member Functions | |
void | setup (InternalGPIOPin *pin) |
uint32_t | get_pulse_width_us () const |
float | get_pulse_width_s () const |
uint32_t | get_last_rise () const |
Static Public Member Functions | |
static void | gpio_intr (PulseWidthSensorStore *arg) |
Protected Attributes | |
ISRInternalGPIOPin | pin_ |
volatile uint32_t | last_width_ {0} |
volatile uint32_t | last_rise_ {0} |
Store data in a class that doesn't use multiple-inheritance (vtables in flash)
Definition at line 11 of file pulse_width.h.
|
inline |
Definition at line 22 of file pulse_width.h.
|
inline |
Definition at line 21 of file pulse_width.h.
|
inline |
Definition at line 20 of file pulse_width.h.
|
static |
Definition at line 9 of file pulse_width.cpp.
|
inline |
Definition at line 13 of file pulse_width.h.
|
protected |
Definition at line 27 of file pulse_width.h.
|
protected |
Definition at line 26 of file pulse_width.h.
|
protected |
Definition at line 25 of file pulse_width.h.