[−][src]Trait step_dir::traits::EnableStepControl
Enable step control for a driver
The Resources
type parameter defines the hardware resources required for
step control.
Associated Types
type WithStepControl: Step
[src]
The type of the driver after direction control has been enabled
Required methods
fn enable_step_control(self, res: Resources) -> Self::WithStepControl
[src]
Enable step control
Implementors
impl<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4, OutputPinError> EnableStepControl<StepMode3> for STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, (), DirMode4> where
StepMode3: OutputPin<Error = OutputPinError>,
[src]
StepMode3: OutputPin<Error = OutputPinError>,
type WithStepControl = STSPIN220<EnableFault, StandbyReset, Mode1, Mode2, StepMode3, DirMode4>
fn enable_step_control(self, step_mode3: StepMode3) -> Self::WithStepControl
[src]
impl<Reset, Mode0, Mode1, Mode2, Step, Dir, OutputPinError> EnableStepControl<Step> for DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, (), Dir> where
Step: OutputPin<Error = OutputPinError>,
[src]
Step: OutputPin<Error = OutputPinError>,