Enum stm32wlxx_hal::pac::usart1::cr2::MSBFIRST_A
pub enum MSBFIRST_A {
Lsb = 0,
Msb = 1,
}
Available on crate feature
stm32wl5x_cm4
only.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 Clone for MSBFIRST_A
impl Clone for MSBFIRST_A
§fn clone(&self) -> MSBFIRST_A
fn clone(&self) -> MSBFIRST_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for MSBFIRST_A
impl Debug for MSBFIRST_A
§impl PartialEq for MSBFIRST_A
impl PartialEq for MSBFIRST_A
§fn eq(&self, other: &MSBFIRST_A) -> bool
fn eq(&self, other: &MSBFIRST_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MSBFIRST_A
impl StructuralPartialEq for MSBFIRST_A
Auto Trait Implementations§
impl RefUnwindSafe for MSBFIRST_A
impl Send for MSBFIRST_A
impl Sync for MSBFIRST_A
impl Unpin for MSBFIRST_A
impl UnwindSafe for MSBFIRST_A
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