[][src]Struct stm32f3::stm32f373::i2c1::oar2::_OA2MSKW

pub struct _OA2MSKW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _OA2MSKW<'a>[src]

pub fn variant(self, variant: OA2MSKW) -> &'a mut W[src]

Writes variant to the field

pub fn no_mask(self) -> &'a mut W[src]

No mask

pub fn mask1(self) -> &'a mut W[src]

OA2[1] is masked and don’t care. Only OA2[7:2] are compared

pub fn mask2(self) -> &'a mut W[src]

OA2[2:1] are masked and don’t care. Only OA2[7:3] are compared

pub fn mask3(self) -> &'a mut W[src]

OA2[3:1] are masked and don’t care. Only OA2[7:4] are compared

pub fn mask4(self) -> &'a mut W[src]

OA2[4:1] are masked and don’t care. Only OA2[7:5] are compared

pub fn mask5(self) -> &'a mut W[src]

OA2[5:1] are masked and don’t care. Only OA2[7:6] are compared

pub fn mask6(self) -> &'a mut W[src]

OA2[6:1] are masked and don’t care. Only OA2[7] is compared.

pub fn mask7(self) -> &'a mut W[src]

OA2[7:1] are masked and don’t care. No comparison is done, and all (except reserved) 7-bit received addresses are acknowledged

pub fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Unpin for _OA2MSKW<'a>

impl<'a> Sync for _OA2MSKW<'a>

impl<'a> Send for _OA2MSKW<'a>

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self