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
impl LSBFIRSTR
impl LSBFIRSTR
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_msbfirst(&self) -> bool
pub fn is_msbfirst(&self) -> bool
Checks if the value of the field is MSBFIRST
pub 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 RefUnwindSafe for LSBFIRSTR
impl Send for LSBFIRSTR
impl Sync for LSBFIRSTR
impl Unpin for LSBFIRSTR
impl UnwindSafe for LSBFIRSTR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more