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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)