Expand description

STSPIN220 Driver

Platform-agnostic driver library for the STSPIN220 stepper motor driver. This crate is a specialized facade for the Stepper library. Please consider using Stepper directly, as it provides drivers for more stepper motor drivers, as well as an interface to abstract over them.

See Stepper for more documentation and usage examples.

Modules

Compatibility code to help use Stepper on more platforms

Parent module for all driver implementations

A Hardware Abstraction Layer (HAL) for embedded systems

fugit provides a comprehensive library of Duration and Instant for the handling of time in embedded systems. The library is specifically designed to maximize const-ification which allows for most comparisons and changes of time-base to be made at compile time, rather than run time.

Software implementation of motion control capability

RampMaker - Stepper Acceleration Ramp Generator

Types related to working with a driver’s microstepping mode

Traits that can be implemented by Stepper drivers

Utility module for miscellaneous stuff that the rest of the crate needs

Structs

The “future” returned by Stepper::move_to_position

The STSPIN220 driver API

The “future” returned by Stepper::set_direction

The “future” returned by Stepper::set_step_mode

The “future” returned by Stepper::step

Unified stepper motor interface

Enums

Defines the direction in which to rotate the motor

Unified error type

An error that can occur while using this API