pub enum LSBFIRSTR {
MSBFIRST,
LSBFIRST,
}
Expand description
Possible values of the field LSBFIRST
Variants§
MSBFIRST
Data is transmitted/received with the MSB first
LSBFIRST
Data is transmitted/received with the LSB first
Implementations§
Source§impl LSBFIRSTR
impl LSBFIRSTR
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_msbfirst(&self) -> bool
pub fn is_msbfirst(&self) -> bool
Checks if the value of the field is MSBFIRST
Sourcepub fn is_lsbfirst(&self) -> bool
pub fn is_lsbfirst(&self) -> bool
Checks if the value of the field is LSBFIRST
Trait Implementations§
impl Copy for LSBFIRSTR
impl StructuralPartialEq for LSBFIRSTR
Auto Trait Implementations§
impl Freeze for LSBFIRSTR
impl RefUnwindSafe for LSBFIRSTR
impl Send for LSBFIRSTR
impl Sync for LSBFIRSTR
impl Unpin for LSBFIRSTR
impl UnwindSafe for LSBFIRSTR
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