pub trait SetDirection {
type Dir: OutputPin;
type Error;
const SETUP_TIME: Duration<u32, 1, 1000000000>;
// Required method
fn dir(&mut self) -> Result<&mut Self::Dir, Self::Error>;
}
Expand description
Implemented by drivers that support controlling the DIR signal
Required Associated Constants§
Sourceconst 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
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.