pub struct W(_);
Expand description
Register OAR2
writer
Implementations
sourceimpl W
impl W
sourcepub fn oa2(&mut self) -> FieldWriterRaw<'_, u32, OAR2_SPEC, u8, u8, Safe, 7, 1>
pub fn oa2(&mut self) -> FieldWriterRaw<'_, u32, OAR2_SPEC, u8, u8, Safe, 7, 1>
Bits 1:7 - Interface address bits 7:1 of address Note: These bits can be written only when OA2EN=0.
sourcepub fn oa2msk(
&mut self
) -> FieldWriterRaw<'_, u32, OAR2_SPEC, u8, OA2MSK_A, Safe, 3, 8>
pub fn oa2msk(
&mut self
) -> FieldWriterRaw<'_, u32, OAR2_SPEC, u8, OA2MSK_A, Safe, 3, 8>
Bits 8:10 - Own Address 2 masks Note: These bits can be written only when OA2EN=0. As soon as OA2MSK is not equal to 0, the reserved I2C addresses (0b0000xxx and 0b1111xxx) are not acknowledged even if the comparison matches.
Methods from Deref<Target = W<OAR2_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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