atsamd_hal::sercom::spi_future

Trait ControlSS

Source
pub trait ControlSS: OptionalPin {
    // Required methods
    fn assert(&mut self);
    fn deassert(&mut self);
}
👎Deprecated since 0.19.0: spi_future is deprecated and will be removed in a later version of atsamd_hal. Consider using the async APIs available in the spi module as a replacement.
Expand description

Trait used to control the SS line during an SpiFuture transaction

Required Methods§

Source

fn assert(&mut self)

👎Deprecated since 0.19.0: spi_future is deprecated and will be removed in a later version of atsamd_hal. Consider using the async APIs available in the spi module as a replacement.

If an SS pin is present, assert it by bringing it low

Source

fn deassert(&mut self)

👎Deprecated since 0.19.0: spi_future is deprecated and will be removed in a later version of atsamd_hal. Consider using the async APIs available in the spi module as a replacement.

If an SS pin is present, deassert it by bringing it high

Implementors§

Source§

impl ControlSS for NoneT

Source§

impl<P> ControlSS for P
where P: SomePin + OutputPin<Error = Infallible>,