Public Member Functions | Static Public Attributes | Static Private Member Functions | Private Attributes
Encoder Class Reference

#include <Encoder.h>

List of all members.

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_tinterruptArgs [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

Detailed Description

Definition at line 68 of file Encoder.h.


Constructor & Destructor Documentation

Encoder::Encoder ( uint8_t  pin1,
uint8_t  pin2 
) [inline]

Definition at line 71 of file Encoder.h.


Member Function Documentation

static uint8_t Encoder::attach_interrupt ( uint8_t  pin,
Encoder_internal_state_t state 
) [inline, static, private]

Definition at line 363 of file Encoder.h.

int32_t Encoder::read ( ) [inline]

Definition at line 104 of file Encoder.h.

static void Encoder::update ( Encoder_internal_state_t arg) [inline, static, private]

Definition at line 189 of file Encoder.h.

void Encoder::write ( int32_t  p) [inline]

Definition at line 116 of file Encoder.h.


Member Data Documentation

Definition at line 134 of file Encoder.h.

Definition at line 139 of file Encoder.h.

uint8_t Encoder::interrupts_in_use [private]

Definition at line 136 of file Encoder.h.


The documentation for this class was generated from the following files:


arduino_interface
Author(s): Joshua Vasquez and Philip Roan. Maintained by Philip Roan
autogenerated on Mon Oct 6 2014 10:09:52