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

The type of the DIR pin

The error that can occur while accessing the DIR pin

Required Associated Constants

The time that the DIR signal must be held for a change to apply

Required Methods

Provides access to the DIR pin

Implementors