#[repr(u8)]pub enum Msbf {
LSB_FIRST = 0,
MSB_FIRST = 1,
}Variants§
LSB_FIRST = 0
LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0.
MSB_FIRST = 1
MSB (identified as bit9, bit8, bit7 or bit6) is the first bit that is transmitted following the start bit depending on the setting of CTRL[M], CTRL[PE] and BAUD[M10]. .
Implementations§
Trait Implementations§
Source§impl Ord for Msbf
impl Ord for Msbf
Source§impl PartialOrd for Msbf
impl PartialOrd for Msbf
impl Copy for Msbf
impl Eq for Msbf
impl StructuralPartialEq for Msbf
Auto Trait Implementations§
impl Freeze for Msbf
impl RefUnwindSafe for Msbf
impl Send for Msbf
impl Sync for Msbf
impl Unpin for Msbf
impl UnwindSafe for Msbf
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