[][src]Trait embedded_spi::Busy

pub trait Busy {
    type Error;
    fn get_busy(&mut self) -> Result<PinState, Self::Error>;
}

Busy trait for peripherals that support a busy signal

Associated Types

type Error

Loading content...

Required methods

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

Returns the busy pin state if bound

Loading content...

Implementors

impl Busy for Spi[src]

type Error = Error<(), ()>

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

Check peripheral busy status

impl<Spi, SpiError, CsPin, BusyPin, ReadyPin, ResetPin, PinError, Delay> Busy for Wrapper<Spi, SpiError, CsPin, BusyPin, ReadyPin, ResetPin, PinError, Delay> where
    BusyPin: InputPin<Error = PinError>, 
[src]

type Error = Error<SpiError, PinError>

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

Fetch the busy pin state

Loading content...