Crate drv8825[][src]

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

drivers

Parent module for all driver implementations

embedded_hal

A Hardware Abstraction Layer (HAL) for embedded systems

embedded_time

embedded-time provides a comprehensive library of Duration and Rate types as well as a Clock abstractions for hardware timers/clocks and the associated Instant type for in embedded systems.

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