pub enum SMPR {
_0,
_1,
}Expand description
Possible values of the field SMP
Variants§
_0
Just one sample is used to determine the bit value.
_1
Three samples are used to determine the value of the received bit: the regular one (sample point) and 2 preceding samples; a majority rule is used.
Implementations§
Source§impl SMPR
impl SMPR
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 SMPR
impl StructuralPartialEq for SMPR
Auto Trait Implementations§
impl Freeze for SMPR
impl RefUnwindSafe for SMPR
impl Send for SMPR
impl Sync for SMPR
impl Unpin for SMPR
impl UnwindSafe for SMPR
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