Ruprecht Altenburger / Mbed OS mirror_actuator_preston

Dependencies:   FastPWM

Embed: (wiki syntax)

« Back to documentation index

EncoderCounterIndex Class Reference

EncoderCounterIndex Class Reference

The EncoderCounterIndex class implements an interrupt service routine to catch the current encoder position when an index pulse is received. More...

#include <EncoderCounterIndex.h>

Public Member Functions

 EncoderCounterIndex (EncoderCounter &encoderCounter, InterruptIn &channelIndex)
 Creates an object with an interrupt service routine to catch the current encoder position when an index pulse is received.

Detailed Description

The EncoderCounterIndex class implements an interrupt service routine to catch the current encoder position when an index pulse is received.

Definition at line 23 of file EncoderCounterIndex.h.


Constructor & Destructor Documentation

EncoderCounterIndex ( EncoderCounter encoderCounter,
InterruptIn &  channelIndex 
)

Creates an object with an interrupt service routine to catch the current encoder position when an index pulse is received.

Definition at line 20 of file EncoderCounterIndex.cpp.