[−][src]Crate stspin220
STSPIN220 Driver
Platform-agnostic driver library for the STSPIN220 stepper motor driver. This crate is a specialized facade for the Step/Dir library. Please consider using Step/Dir directly, as it provides drivers for more stepper motor drivers, as well as an interface to abstract over them.
See Step/Dir for more documentation and usage examples.
Modules
drivers | Parent module for all driver implementations |
embedded_hal | A Hardware Abstraction Layer (HAL) for embedded systems |
embedded_time |
|
step_mode | Types related to working with a driver's microstepping mode |
traits | Traits that can be implemented by Step/Dir drivers |
Structs
Driver | Abstract interface to stepper motor drivers |
STSPIN220 | The STSPIN220 driver API |
SetDirectionFuture | A "future" that can be polled to complete a |
SetStepModeFuture | A "future" that can be polled to complete a |
StepFuture | A "future" that can be polled to complete a |
Enums
Direction | Defines the direction in which to rotate the motor |
Error | An error that can occur while using this API |