#[repr(u8)]
pub enum OA2MSK_A {
NOMASK,
MASK1,
MASK2,
MASK3,
MASK4,
MASK5,
MASK6,
MASK7,
}
Expand description
Own Address 2 masks
Value on reset: 0
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
Trait Implementations
impl Copy for OA2MSK_A
impl StructuralPartialEq for OA2MSK_A
Auto Trait Implementations
impl RefUnwindSafe for OA2MSK_A
impl Send for OA2MSK_A
impl Sync for OA2MSK_A
impl Unpin for OA2MSK_A
impl UnwindSafe for OA2MSK_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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