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 69 of file Encoder.h.


Constructor & Destructor Documentation

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

Definition at line 72 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 357 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 185 of file Encoder.h.

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

Definition at line 115 of file Encoder.h.


Member Data Documentation

Definition at line 130 of file Encoder.h.

Definition at line 135 of file Encoder.h.

uint8_t Encoder::interrupts_in_use [private]

Definition at line 132 of file Encoder.h.


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


lizi_arduino
Author(s): RoboTiCan
autogenerated on Wed Aug 26 2015 12:24:23