Holds information relating to an encoder. More...
#include <vexencoder.h>
Data Fields | |
volatile int32_t | count |
current encoder count More... | |
int32_t | offset |
current encoder offset (subtracted from count) More... | |
int16_t | state |
flag iondicating encoder is installed More... | |
tVexDigitalPin | pa |
Encoder digital pin a. More... | |
tVexDigitalPin | pb |
Encoder digital pin b. More... | |
ioportid_t | pa_port |
Encoder GPIO port a. More... | |
int16_t | pa_pad |
Encoder GPIO pad a. More... | |
ioportid_t | pb_port |
Encoder GPIO port b. More... | |
int16_t | pb_pad |
Encoder GPIO pad b. More... | |
Holds information relating to an encoder.
volatile int32_t count |
current encoder count
int32_t offset |
current encoder offset (subtracted from count)
int16_t state |
flag iondicating encoder is installed
Encoder digital pin a.
Encoder digital pin b.
ioportid_t pa_port |
Encoder GPIO port a.
int16_t pa_pad |
Encoder GPIO pad a.
ioportid_t pb_port |
Encoder GPIO port b.
int16_t pb_pad |
Encoder GPIO pad b.