Struct stepper::drivers::stspin220::STSPIN220[][src]

pub struct STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> { /* fields omitted */ }

The STSPIN220 driver API

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

Implementations

impl STSPIN220<(), (), (), (), (), ()>[src]

pub fn new() -> Self[src]

Create a new instance of STSPIN220

Trait Implementations

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> EnableDirectionControl<DirMode4> for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, ()> where
    DirMode4: OutputPin<Error = OutputPinError>, 
[src]

type WithDirectionControl = STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4>

The type of the driver after direction control has been enabled

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> EnableStepControl<StepMode3> for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, (), DirMode4> where
    StepMode3: OutputPin<Error = OutputPinError>, 
[src]

type WithStepControl = STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4>

The type of the driver after step control has been enabled

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> EnableStepModeControl<(StandbyReset, Mode1, Mode2)> for STSPIN220<EnableFault, (), (), (), StepMode3, DirMode4> where
    StandbyReset: OutputPin<Error = OutputPinError>,
    Mode1: OutputPin<Error = OutputPinError>,
    Mode2: OutputPin<Error = OutputPinError>,
    StepMode3: OutputPin<Error = OutputPinError>,
    DirMode4: OutputPin<Error = OutputPinError>, 
[src]

type WithStepModeControl = STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4>

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

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> SetDirection for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> where
    DirMode4: OutputPin<Error = OutputPinError>, 
[src]

type Dir = DirMode4

The type of the DIR pin

type Error = OutputPinError

The error that can occur while using this trait

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> SetStepMode for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> where
    StandbyReset: OutputPin<Error = OutputPinError>,
    Mode1: OutputPin<Error = OutputPinError>,
    Mode2: OutputPin<Error = OutputPinError>,
    StepMode3: OutputPin<Error = OutputPinError>,
    DirMode4: OutputPin<Error = OutputPinError>, 
[src]

type Error = OutputPinError

The error that can occur while using this trait

type StepMode = StepMode256

The type that defines the microstepping mode Read more

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> Step for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> where
    StepMode3: OutputPin<Error = OutputPinError>, 
[src]

type Step = StepMode3

The type of the STEP pin

type Error = OutputPinError

The error that can occur while using this trait

Auto Trait Implementations

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> Send for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> where
    DirMode4: Send,
    EnableFault: Send,
    Mode1: Send,
    Mode2: Send,
    StandbyReset: Send,
    StepMode3: Send

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> Sync for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> where
    DirMode4: Sync,
    EnableFault: Sync,
    Mode1: Sync,
    Mode2: Sync,
    StandbyReset: Sync,
    StepMode3: Sync

impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> Unpin for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4> where
    DirMode4: Unpin,
    EnableFault: Unpin,
    Mode1: Unpin,
    Mode2: Unpin,
    StandbyReset: Unpin,
    StepMode3: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<T> WrappingAs for T[src]