Struct stm32wlxx_hal::pac::i2c1::oar2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register OAR2
writer
Implementations§
§impl W
impl W
pub 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
pub 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
Methods from Deref<Target = W<OAR2_SPEC>>§
pub 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§
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