ESPHome
2024.12.2
|
#include <pulse_counter_sensor.h>
Public Member Functions | |
bool | pulse_counter_setup (InternalGPIOPin *pin) override |
pulse_counter_t | read_raw_value () override |
Data Fields | |
pcnt_unit_t | pcnt_unit |
pcnt_channel_t | pcnt_channel |
Data Fields inherited from esphome::pulse_counter::PulseCounterStorageBase | |
InternalGPIOPin * | pin |
PulseCounterCountMode | rising_edge_mode {PULSE_COUNTER_INCREMENT} |
PulseCounterCountMode | falling_edge_mode {PULSE_COUNTER_DISABLE} |
uint32_t | filter_us {0} |
pulse_counter_t | last_value {0} |
Definition at line 53 of file pulse_counter_sensor.h.
|
overridevirtual |
Implements esphome::pulse_counter::PulseCounterStorageBase.
Definition at line 54 of file pulse_counter_sensor.cpp.
|
overridevirtual |
Implements esphome::pulse_counter::PulseCounterStorageBase.
Definition at line 144 of file pulse_counter_sensor.cpp.
pcnt_channel_t esphome::pulse_counter::HwPulseCounterStorage::pcnt_channel |
Definition at line 58 of file pulse_counter_sensor.h.
pcnt_unit_t esphome::pulse_counter::HwPulseCounterStorage::pcnt_unit |
Definition at line 57 of file pulse_counter_sensor.h.