[−][src]Struct stm32f3::stm32f303::i2c1::oar2::OA2MSK_W
Write proxy for field OA2MSK
Methods
impl<'a> OA2MSK_W<'a>
[src]
pub fn variant(self, variant: OA2MSK_A) -> &'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
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> 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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> 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<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> 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<T> for T
type Output = T
Should always be Self