pub enum ABRMODR {
START,
EDGE,
FRAME7F,
FRAME55,
}
Expand description
Possible values of the field ABRMOD
Variants§
START
Measurement of the start bit is used to detect the baud rate
EDGE
Falling edge to falling edge measurement
FRAME7F
0x7F frame detection
FRAME55
0x55 frame detection
Implementations§
Source§impl ABRMODR
impl ABRMODR
Sourcepub fn is_frame7f(&self) -> bool
pub fn is_frame7f(&self) -> bool
Checks if the value of the field is FRAME7F
Sourcepub fn is_frame55(&self) -> bool
pub fn is_frame55(&self) -> bool
Checks if the value of the field is FRAME55
Trait Implementations§
impl Copy for ABRMODR
impl StructuralPartialEq for ABRMODR
Auto Trait Implementations§
impl Freeze for ABRMODR
impl RefUnwindSafe for ABRMODR
impl Send for ABRMODR
impl Sync for ABRMODR
impl Unpin for ABRMODR
impl UnwindSafe for ABRMODR
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