[][src]Trait embedded_spi::Reset

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

Reset trait for peripherals that have a reset or shutdown pin

Associated Types

type Error

Loading content...

Required methods

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

Set the reset pin state if available

Loading content...

Implementors

impl Reset for Spi[src]

type Error = Error<(), ()>

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

Check peripheral ready status

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

type Error = Error<SpiError, PinError>

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

Set the reset pin state

Loading content...