Provides an API software interface to TIMER2 to control upto four stepper motors.
SimpleStepperOutput Class Reference
[SimpleStepperOutput functions]
SimpleStepperOutput - Adds pin output objects. More...
#include <SimpleStepperOutput.h>
Public Member Functions | |
SimpleStepperOutput (PinName p, Direction d=Out, PinMode m=PullDown) | |
Constructor. | |
void | write (int i) |
write | |
int | read (void) |
read | |
void | output (void) |
output | |
void | input (void) |
input | |
PinName | getPin (void) |
getPin | |
int | getDirection (void) |
getDirection | |
operator int () | |
operator int() | |
SimpleStepperOutput & | operator= (int value) |
operator= | |
SimpleStepperOutput & | operator= (SimpleStepperOutput &rhs) |
operator= | |
uint32_t | getMask (void) |
getMask | |
uint32_t | getFiodir (void) |
getFiodir | |
uint32_t | getFiomask (void) |
getFiomask | |
uint32_t | getFiopin (void) |
getFiopin | |
uint32_t | getFioset (void) |
getFioset | |
uint32_t | getFioclr (void) |
getFioclr |
Detailed Description
SimpleStepperOutput - Adds pin output objects.
The Mbed library supplies the DigitalIn and DigitalOut objects to allow you to specify ins and outs.
SimpleStepperOutput allows library objects to implement pins without the requirement to link against the Mbed library. This increase portability when using alternate compilers (such as the Code Red GCC C++ compiler for LPCXpresso).
Definition at line 52 of file SimpleStepperOutput.h.
Generated on Thu Jul 14 2022 17:06:02 by 1.7.2