Trait drv8825::traits::Step [−][src]
Implemented by drivers that support controlling the STEP signal
Associated Types
type Step: OutputPin
[src]
The type of the STEP pin
type Error
[src]
The error that can occur while using this trait
Associated Constants
pub const PULSE_LENGTH: Nanoseconds<u32>
[src]
The minimum length of a STEP pulse
Required methods
Loading content...Implementors
impl<'r, T> Step for RefMut<'r, T> where
T: Step,
[src]
T: Step,
pub const PULSE_LENGTH: Nanoseconds<u32>
[src]
type Step = <T as Step>::Step
type Error = <T as Step>::Error
pub fn step(&mut self) -> &mut <RefMut<'r, T> as Step>::Step
[src]
impl<Reset, Mode0, Mode1, Mode2, Step, Dir, OutputPinError> Step for DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, Dir> where
Step: OutputPin<Error = OutputPinError>,
[src]
Step: OutputPin<Error = OutputPinError>,
pub const PULSE_LENGTH: Nanoseconds<u32>
[src]
type Step = Step
type Error = OutputPinError
pub fn step(
&mut self
) -> &mut <DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, Dir> as Step>::Step
[src]
&mut self
) -> &mut <DRV8825<(), (), (), Reset, Mode0, Mode1, Mode2, Step, Dir> as Step>::Step