ESPHome
2024.10.2
|
Data Structures | |
struct | BasicPulseCounterStorage |
struct | HwPulseCounterStorage |
class | PulseCounterSensor |
struct | PulseCounterStorageBase |
class | SetTotalPulsesAction |
Typedefs | |
using | pulse_counter_t = int16_t |
Enumerations | |
enum | PulseCounterCountMode { PULSE_COUNTER_DISABLE = 0, PULSE_COUNTER_INCREMENT, PULSE_COUNTER_DECREMENT } |
Functions | |
PulseCounterStorageBase * | get_storage (bool hw_pcnt) |
Variables | |
const char *const | EDGE_MODE_TO_STRING [] = {"DISABLE", "INCREMENT", "DECREMENT"} |
typedef int32_t esphome::pulse_counter::pulse_counter_t |
Definition at line 24 of file pulse_counter_sensor.h.
Enumerator | |
---|---|
PULSE_COUNTER_DISABLE | |
PULSE_COUNTER_INCREMENT | |
PULSE_COUNTER_DECREMENT |
Definition at line 17 of file pulse_counter_sensor.h.
PulseCounterStorageBase * esphome::pulse_counter::get_storage | ( | bool | hw_pcnt | ) |
Definition at line 12 of file pulse_counter_sensor.cpp.
const char* const esphome::pulse_counter::EDGE_MODE_TO_STRING[] = {"DISABLE", "INCREMENT", "DECREMENT"} |
Definition at line 9 of file pulse_counter_sensor.cpp.