Enum stm32_metapac::usart::vals::Msbfirst
#[repr(u8)]pub enum Msbfirst {
LSB = 0,
MSB = 1,
}
Variants§
LSB = 0
data is transmitted/received with data bit 0 first, following the start bit
MSB = 1
data is transmitted/received with MSB (bit 7/8/9) first, following the start bit
Implementations§
Trait Implementations§
§impl Ord for Msbfirst
impl Ord for Msbfirst
§impl PartialOrd for Msbfirst
impl PartialOrd for Msbfirst
§fn partial_cmp(&self, other: &Msbfirst) -> Option<Ordering>
fn partial_cmp(&self, other: &Msbfirst) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Msbfirst
impl Eq for Msbfirst
impl StructuralEq for Msbfirst
impl StructuralPartialEq for Msbfirst
Auto Trait Implementations§
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