[][src]Trait embedded_spi::Ready

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

Ready trait for peripherals that support a ready signal (or IRQ)

Associated Types

type Error

Loading content...

Required methods

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

Returns the busy pin state if bound

Loading content...

Implementors

impl Ready for Spi[src]

type Error = Error<(), ()>

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

Check peripheral ready status

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

type Error = Error<SpiError, PinError>

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

Fetch the ready pin state

Loading content...