[][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, Output, Input, PinError, Delay> Ready for Wrapper<Spi, SpiError, Output, Input, PinError, Delay> where
    Spi: Transfer<u8, Error = SpiError> + Write<u8, Error = SpiError>,
    Output: OutputPin<Error = PinError>,
    Input: InputPin<Error = PinError>,
    Delay: DelayMs<u32>, 
[src]

type Error = Error<SpiError, PinError>

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

Fetch the ready pin state

Loading content...