Trait drv8825::traits::EnableStepControl [−][src]
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 step control has been enabled
Required methods
pub fn enable_step_control(self, res: Resources) -> Self::WithStepControl
[src]
Enable step control
Implementors
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>,
type WithStepControl = DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, Dir>
pub fn enable_step_control(
self,
step: Step
) -> <DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, (), Dir> as EnableStepControl<Step>>::WithStepControl
[src]
self,
step: Step
) -> <DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, (), Dir> as EnableStepControl<Step>>::WithStepControl