ESP32Encoder
|
#include <Arduino.h>
#include <driver/gpio.h>
#include <driver/pcnt.h>
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 } |
#define _INT16_MAX 32766 |
Definition at line 6 of file ESP32Encoder.h.
Referenced by ESP32Encoder::attach().
#define _INT16_MIN -32766 |
Definition at line 7 of file ESP32Encoder.h.
Referenced by ESP32Encoder::attach().
#define MAX_ESP32_ENCODERS PCNT_UNIT_MAX |
Definition at line 5 of file ESP32Encoder.h.
Referenced by ESP32Encoder::attach().
enum encType |
Enumerator | |
---|---|
single | |
half | |
full |
Definition at line 9 of file ESP32Encoder.h.
enum puType |
Enumerator | |
---|---|
UP | |
DOWN | |
NONE |
Definition at line 14 of file ESP32Encoder.h.