Busy

Trait Busy 

Source
pub trait Busy {
    type Error;

    // Required method
    fn get_busy(&mut self) -> Result<PinState, Self::Error>;
}
Expand description

Busy trait for peripherals that support a busy signal

Required Associated Types§

Required Methods§

Source

fn get_busy(&mut self) -> Result<PinState, Self::Error>

Returns the busy pin state if bound

Implementors§

Source§

impl Busy for Spi

Source§

impl<Spi, CsPin, BusyPin, ReadyPin, ResetPin, Delay> Busy for Wrapper<Spi, CsPin, BusyPin, ReadyPin, ResetPin, Delay>
where BusyPin: InputPin,

Busy pin implementation for inner objects implementing Busy

Source§

type Error = <BusyPin as ErrorType>::Error