Trait stepper::traits::SetDirection
source · [−]pub trait SetDirection {
type Dir: OutputPin;
type Error;
const SETUP_TIME: Nanoseconds;
fn dir(&mut self) -> Result<&mut Self::Dir, Self::Error>;
}
Expand description
Implemented by drivers that support controlling the DIR signal
Required Associated Types
Required Associated Constants
const SETUP_TIME: Nanoseconds
const SETUP_TIME: Nanoseconds
The time that the DIR signal must be held for a change to apply