Enum stm32wlxx_hal::pac::i2c1::oar2::OA2MSK_A
#[repr(u8)]pub enum OA2MSK_A {
NoMask = 0,
Mask1 = 1,
Mask2 = 2,
Mask3 = 3,
Mask4 = 4,
Mask5 = 5,
Mask6 = 6,
Mask7 = 7,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Own Address 2 masks
Value on reset: 0
Variants§
NoMask = 0
0: No mask
Mask1 = 1
1: OA2[1] is masked and don’t care. Only OA2[7:2] are compared
Mask2 = 2
2: OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
Mask3 = 3
3: OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
Mask4 = 4
4: OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
Mask5 = 5
5: OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
Mask6 = 6
6: OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
Mask7 = 7
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§
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