pub enum SSIR {
SLAVESELECTED,
SLAVENOTSELECTED,
}
Expand description
Possible values of the field SSI
Variants§
SLAVESELECTED
0 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
SLAVENOTSELECTED
1 is forced onto the NSS pin and the I/O value of the NSS pin is ignored
Implementations§
Source§impl SSIR
impl SSIR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Sourcepub fn is_slave_selected(&self) -> bool
pub fn is_slave_selected(&self) -> bool
Checks if the value of the field is SLAVESELECTED
Sourcepub fn is_slave_not_selected(&self) -> bool
pub fn is_slave_not_selected(&self) -> bool
Checks if the value of the field is SLAVENOTSELECTED
Trait Implementations§
impl Copy for SSIR
impl StructuralPartialEq for SSIR
Auto Trait Implementations§
impl Freeze for SSIR
impl RefUnwindSafe for SSIR
impl Send for SSIR
impl Sync for SSIR
impl Unpin for SSIR
impl UnwindSafe for SSIR
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