Enum Oamsk
#[repr(u8)]pub enum Oamsk {
NOMASK = 0,
MASK1 = 1,
MASK2 = 2,
MASK3 = 3,
MASK4 = 4,
MASK5 = 5,
MASK6 = 6,
MASK7 = 7,
}
Variants§
NOMASK = 0
No mask
MASK1 = 1
OA2[1] is masked and don’t care. Only OA2[7:2] are compared
MASK2 = 2
OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
MASK3 = 3
OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
MASK4 = 4
OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
MASK5 = 5
OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
MASK6 = 6
OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
MASK7 = 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§
Trait Implementations§
§impl Ord for Oamsk
impl Ord for Oamsk
§impl PartialOrd for Oamsk
impl PartialOrd for Oamsk
impl Copy for Oamsk
impl Eq for Oamsk
impl StructuralPartialEq for Oamsk
Auto Trait Implementations§
impl Freeze for Oamsk
impl RefUnwindSafe for Oamsk
impl Send for Oamsk
impl Sync for Oamsk
impl Unpin for Oamsk
impl UnwindSafe for Oamsk
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)