pub enum MR {
_0,
_1,
}Expand description
Possible values of the field M
Variants§
_0
Normal - start + 8 data bits (MSB/LSB first as determined by MSBF) + stop.
_1
Use - start + 9 data bits (MSB/LSB first as determined by MSBF) + stop.
Implementations§
Source§impl MR
impl MR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
Trait Implementations§
impl Copy for MR
impl StructuralPartialEq for MR
Auto Trait Implementations§
impl Freeze for MR
impl RefUnwindSafe for MR
impl Send for MR
impl Sync for MR
impl Unpin for MR
impl UnwindSafe for MR
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