3 #include <driver/gpio.h> 4 #include <driver/pcnt.h> 5 #define MAX_ESP32_ENCODERS PCNT_UNIT_MAX 6 #define _INT16_MAX 32766 7 #define _INT16_MIN -32766
pcnt_config_t r_enc_config
void setFilter(uint16_t value)
void attachHalfQuad(int aPintNumber, int bPinNumber)
void attachSingleEdge(int aPintNumber, int bPinNumber)
void setCount(int64_t value)
static pcnt_isr_handle_t user_isr_handle
#define MAX_ESP32_ENCODERS
void attach(int aPintNumber, int bPinNumber, enum encType et)
static ESP32Encoder * encoders[MAX_ESP32_ENCODERS]
static enum puType useInternalWeakPullResistors
static bool attachedInterrupt
void attachFullQuad(int aPintNumber, int bPinNumber)