esp32-rotary-encoder
ESP32-compatible C library for Incremental Rotary Encoders.
|
Struct carries all the information needed by this driver to manage the rotary encoder device. The fields of this structure should not be accessed directly. More...
#include <rotary_encoder.h>
Data Fields | |
gpio_num_t | pin_a |
GPIO for Signal A from the rotary encoder device. | |
gpio_num_t | pin_b |
GPIO for Signal B from the rotary encoder device. | |
QueueHandle_t | queue |
Handle for event queue, created by rotary_encoder_create_queue. | |
const table_row_t * | table |
Pointer to active state transition table. | |
uint8_t | table_state |
Internal state. | |
volatile rotary_encoder_state_t | state |
Device state. | |
Struct carries all the information needed by this driver to manage the rotary encoder device. The fields of this structure should not be accessed directly.