Trait chip_select::ChipSelect
source · pub trait ChipSelect {
// Required methods
fn is_auto_select(&self) -> bool;
fn select(&mut self);
fn deselect(&mut self);
// Provided method
fn auto_select(&mut self) { ... }
}Expand description
A chip-select trait.
Required Methods§
sourcefn is_auto_select(&self) -> bool
fn is_auto_select(&self) -> bool
Indicates whether this instance is configured to auto-select the chip on communication.
Provided Methods§
sourcefn auto_select(&mut self)
fn auto_select(&mut self)
Selects the chip if auto-select is enabled.