#include <Encoder.h>
Public Member Functions | |
Encoder (uint8_t pin1, uint8_t pin2) | |
int32_t | read () |
void | write (int32_t p) |
Static Public Attributes | |
static Encoder_internal_state_t * | interruptArgs [ENCODER_ARGLIST_SIZE] |
Static Private Member Functions | |
static uint8_t | attach_interrupt (uint8_t pin, Encoder_internal_state_t *state) |
static void | update (Encoder_internal_state_t *arg) |
Private Attributes | |
Encoder_internal_state_t | encoder |
uint8_t | interrupts_in_use |
Encoder::Encoder | ( | uint8_t | pin1, |
uint8_t | pin2 | ||
) | [inline] |
static uint8_t Encoder::attach_interrupt | ( | uint8_t | pin, |
Encoder_internal_state_t * | state | ||
) | [inline, static, private] |
int32_t Encoder::read | ( | ) | [inline] |
static void Encoder::update | ( | Encoder_internal_state_t * | arg | ) | [inline, static, private] |
void Encoder::write | ( | int32_t | p | ) | [inline] |
Encoder_internal_state_t Encoder::encoder [private] |
Encoder_internal_state_t * Encoder::interruptArgs [static] |
uint8_t Encoder::interrupts_in_use [private] |