Trait driver_pal::Busy[][src]

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

Loading content...

Required methods

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

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, DelayError> Busy for Wrapper<Spi, SpiError, CsPin, BusyPin, ReadyPin, ResetPin, PinError, Delay, DelayError> where
    BusyPin: InputPin<Error = PinError>, 
[src]

Busy pin implementation for inner objects implementing Busy

type Error = Error<SpiError, PinError, DelayError>

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

Fetch the busy pin state

Loading content...