pub enum MSBFIRST {
Lsb = 0,
Msb = 1,
}
Expand description
Most significant bit first
Value on reset: 0
Variants§
Lsb = 0
0: data is transmitted/received with data bit 0 first, following the start bit
Msb = 1
1: data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Trait Implementations§
impl Copy for MSBFIRST
impl Eq for MSBFIRST
impl StructuralPartialEq for MSBFIRST
Auto Trait Implementations§
impl Freeze for MSBFIRST
impl RefUnwindSafe for MSBFIRST
impl Send for MSBFIRST
impl Sync for MSBFIRST
impl Unpin for MSBFIRST
impl UnwindSafe for MSBFIRST
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