Enum stm32_metapac::usart::vals::Abrmod
#[repr(u8)]pub enum Abrmod {
START = 0,
EDGE = 1,
FRAME7F = 2,
FRAME55 = 3,
}
Variants§
START = 0
Measurement of the start bit is used to detect the baud rate
EDGE = 1
Falling edge to falling edge measurement
FRAME7F = 2
0x7F frame detection
FRAME55 = 3
0x55 frame detection
Implementations§
Trait Implementations§
§impl Ord for Abrmod
impl Ord for Abrmod
§impl PartialOrd for Abrmod
impl PartialOrd for Abrmod
§fn partial_cmp(&self, other: &Abrmod) -> Option<Ordering>
fn partial_cmp(&self, other: &Abrmod) -> 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 Abrmod
impl Eq for Abrmod
impl StructuralEq for Abrmod
impl StructuralPartialEq for Abrmod
Auto Trait Implementations§
impl RefUnwindSafe for Abrmod
impl Send for Abrmod
impl Sync for Abrmod
impl Unpin for Abrmod
impl UnwindSafe for Abrmod
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