Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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.
Generated on Wed Jul 20 2022 04:16:10 by
1.7.2