pub enum CsMode {
Disabled = 0,
Enabled = 1,
Exclusive = 2,
}Expand description
Chip select mode
Variants§
Disabled = 0
Auto chip select is disabled for the specified channel
Enabled = 1
Auto chip select is enabled for the specified channel
Exclusive = 2
Auto chip select is enabled for the specified channel, all other chip selects are disabled
Trait Implementations§
impl StructuralPartialEq for CsMode
Auto Trait Implementations§
impl Freeze for CsMode
impl RefUnwindSafe for CsMode
impl Send for CsMode
impl Sync for CsMode
impl Unpin for CsMode
impl UnsafeUnpin for CsMode
impl UnwindSafe for CsMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more