Trait stspin220::traits::SetDirection
source · [−]pub trait SetDirection {
type Dir: OutputPin;
type Error;
const SETUP_TIME: Duration<u32, 1, 1000000000>;
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: Duration<u32, 1, 1000000000>
const SETUP_TIME: Duration<u32, 1, 1000000000>
The time that the DIR signal must be held for a change to apply