ChipSelect

Trait ChipSelect 

Source
pub trait ChipSelect {
    type Error;

    // Required method
    fn set_cs(&mut self, state: PinState) -> Result<(), Self::Error>;
}
Expand description

Chip Select trait for peripherals supporting manual chip select

Required Associated Types§

Required Methods§

Source

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

Set the cs pin state if available

Implementors§