Crate drv8825

Source
Expand description

DRV8825 Driver

Platform-agnostic driver library for the DRV8825 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§

compat
Compatibility code to help use Stepper on more platforms
drivers
Parent module for all driver implementations
embedded_hal
A Hardware Abstraction Layer (HAL) for embedded systems
fugit
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.
motion_control
Software implementation of motion control capability
ramp_maker
RampMaker - Stepper Acceleration Ramp Generator
step_mode
Types related to working with a driver’s microstepping mode
traits
Traits that can be implemented by Stepper drivers
util
Utility module for miscellaneous stuff that the rest of the crate needs

Structs§

DRV8825
The DRV8825 driver API
MoveToFuture
The “future” returned by Stepper::move_to_position
SetDirectionFuture
The “future” returned by Stepper::set_direction
SetStepModeFuture
The “future” returned by Stepper::set_step_mode
StepFuture
The “future” returned by Stepper::step
Stepper
Unified stepper motor interface

Enums§

Direction
Defines the direction in which to rotate the motor
Error
Unified error type
SignalError
An error that can occur while using this API