pub enum OA2MSKR {
NOMASK,
MASK_1,
MASK_2,
MASK_3,
MASK_4,
MASK_5,
MASK_6,
MASK_7,
}
Expand description
Possible values of the field OA2MSK
Variants
NOMASK
No mask
MASK_1
OA2[1] is masked and don’t care. Only OA2[7:2] are compared
MASK_2
OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
MASK_3
OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
MASK_4
OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
MASK_5
OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
MASK_6
OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
MASK_7
OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Implementations
sourceimpl OA2MSKR
impl OA2MSKR
sourcepub fn is_no_mask(&self) -> bool
pub fn is_no_mask(&self) -> bool
Checks if the value of the field is NOMASK
Trait Implementations
impl Copy for OA2MSKR
impl StructuralPartialEq for OA2MSKR
Auto Trait Implementations
impl RefUnwindSafe for OA2MSKR
impl Send for OA2MSKR
impl Sync for OA2MSKR
impl Unpin for OA2MSKR
impl UnwindSafe for OA2MSKR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more