[][src]Trait driver_pal::Reset

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

Reset trait for peripherals that have a reset or shutdown pin

Associated Types

Loading content...

Required methods

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

Set the reset pin state if available

Loading content...

Implementors

impl Reset for Spi[src]

type Error = Error<(), (), ()>

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

Check peripheral ready status

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

Reset pin implementation for inner objects implementing Reset

type Error = Error<SpiError, PinError, DelayError>

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

Set the reset pin state

Loading content...