ESP32Encoder
Data Structures | Macros | Enumerations
ESP32Encoder.h File Reference
#include <Arduino.h>
#include <driver/gpio.h>
#include <driver/pcnt.h>
Include dependency graph for ESP32Encoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ESP32Encoder
 

Macros

#define MAX_ESP32_ENCODERS   PCNT_UNIT_MAX
 
#define _INT16_MAX   32766
 
#define _INT16_MIN   -32766
 

Enumerations

enum  encType { single, half, full }
 
enum  puType { UP, DOWN, NONE }
 

Macro Definition Documentation

◆ _INT16_MAX

#define _INT16_MAX   32766

Definition at line 6 of file ESP32Encoder.h.

Referenced by ESP32Encoder::attach().

◆ _INT16_MIN

#define _INT16_MIN   -32766

Definition at line 7 of file ESP32Encoder.h.

Referenced by ESP32Encoder::attach().

◆ MAX_ESP32_ENCODERS

#define MAX_ESP32_ENCODERS   PCNT_UNIT_MAX

Definition at line 5 of file ESP32Encoder.h.

Referenced by ESP32Encoder::attach().

Enumeration Type Documentation

◆ encType

enum encType
Enumerator
single 
half 
full 

Definition at line 9 of file ESP32Encoder.h.

◆ puType

enum puType
Enumerator
UP 
DOWN 
NONE 

Definition at line 14 of file ESP32Encoder.h.