ESPHome  2021.11.4
Data Structures | Typedefs | Enumerations | Variables
esphome::pulse_counter Namespace Reference

Data Structures

class  PulseCounterSensor
 
struct  PulseCounterStorage
 

Typedefs

using pulse_counter_t = int16_t
 

Enumerations

enum  PulseCounterCountMode { PULSE_COUNTER_DISABLE = 0, PULSE_COUNTER_INCREMENT, PULSE_COUNTER_DECREMENT }
 

Variables

const char *const EDGE_MODE_TO_STRING [] = {"DISABLE", "INCREMENT", "DECREMENT"}
 

Typedef Documentation

◆ pulse_counter_t

Definition at line 21 of file pulse_counter_sensor.h.

Enumeration Type Documentation

◆ PulseCounterCountMode

Enumerator
PULSE_COUNTER_DISABLE 
PULSE_COUNTER_INCREMENT 
PULSE_COUNTER_DECREMENT 

Definition at line 14 of file pulse_counter_sensor.h.

Variable Documentation

◆ EDGE_MODE_TO_STRING

const char* const esphome::pulse_counter::EDGE_MODE_TO_STRING[] = {"DISABLE", "INCREMENT", "DECREMENT"}

Definition at line 9 of file pulse_counter_sensor.cpp.