[−][src]Enum stm32l432_pac::i2c1::oar2::OA2MSKR
Possible values of the field OA2MSK
Variants
NOMASK
No mask
MASK1
OA2[1] is masked and don’t care. Only OA2[7:2] are compared
MASK2
OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared
MASK3
OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared
MASK4
OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared
MASK5
OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared
MASK6
OA2[6:1] are masked and don’t care. Only OA2[7] is compared.
MASK7
OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged
Methods
impl OA2MSKR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_no_mask(&self) -> bool
[src]
Checks if the value of the field is NOMASK
pub fn is_mask1(&self) -> bool
[src]
Checks if the value of the field is MASK1
pub fn is_mask2(&self) -> bool
[src]
Checks if the value of the field is MASK2
pub fn is_mask3(&self) -> bool
[src]
Checks if the value of the field is MASK3
pub fn is_mask4(&self) -> bool
[src]
Checks if the value of the field is MASK4
pub fn is_mask5(&self) -> bool
[src]
Checks if the value of the field is MASK5
pub fn is_mask6(&self) -> bool
[src]
Checks if the value of the field is MASK6
pub fn is_mask7(&self) -> bool
[src]
Checks if the value of the field is MASK7
Trait Implementations
impl Debug for OA2MSKR
[src]
impl PartialEq<OA2MSKR> for OA2MSKR
[src]
fn eq(&self, other: &OA2MSKR) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Copy for OA2MSKR
[src]
impl Clone for OA2MSKR
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self