|
ESPHome 2026.2.3
|
#include <pulse_counter_sensor.h>
Public Member Functions | |
| bool | pulse_counter_setup (InternalGPIOPin *pin) override |
| pulse_counter_t | read_raw_value () override |
Public Member Functions inherited from esphome::pulse_counter::PulseCounterStorageBase | |
Data Fields | |
| pcnt_unit_handle_t | pcnt_unit {nullptr} |
| pcnt_channel_handle_t | pcnt_channel {nullptr} |
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 52 of file pulse_counter_sensor.h.
|
overridevirtual |
Implements esphome::pulse_counter::PulseCounterStorageBase.
Definition at line 63 of file pulse_counter_sensor.cpp.
|
overridevirtual |
Implements esphome::pulse_counter::PulseCounterStorageBase.
Definition at line 160 of file pulse_counter_sensor.cpp.
| pcnt_channel_handle_t esphome::pulse_counter::HwPulseCounterStorage::pcnt_channel {nullptr} |
Definition at line 57 of file pulse_counter_sensor.h.
| pcnt_unit_handle_t esphome::pulse_counter::HwPulseCounterStorage::pcnt_unit {nullptr} |
Definition at line 56 of file pulse_counter_sensor.h.