pub struct DRV8825<Enable, Fault, Sleep, Reset, Mode0, Mode1, Mode2, Step, Dir> { /* private fields */ }
Expand description

The DRV8825 driver API

Users are not expected to use this API directly, except to create an instance using DRV8825::new. Please check out Stepper instead.

Implementations

Create a new instance of DRV8825

Trait Implementations

The type of the driver after direction control has been enabled

Enable direction control

The type of the driver after step control has been enabled

Enable step control

The type of the driver after microstepping mode control has been enabled

Enable microstepping mode control

The time that the DIR signal must be held for a change to apply

The type of the DIR pin

The error that can occur while accessing the DIR pin

Provides access to the DIR pin

The time the mode signals need to be held before re-enabling the driver

The time the mode signals need to be held after re-enabling the driver

The error that can occur while using this trait

The type that defines the microstepping mode Read more

Apply the new step mode configuration Read more

Re-enable the driver after the mode has been set

The minimum length of a STEP pulse

The type of the STEP pin

The error that can occur while accessing the STEP pin

Provides access to the STEP pin

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Performs the conversion.

Performs the conversion.

Casts the value.

Casts the value.

Should always be Self

Casts the value.

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.

Casts the value.

Casts the value.