Struct stm32wlxx_hal::pac::i2c1::oar1::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register OAR1
writer
Implementations§
§impl W
impl W
pub fn oa1(
&mut self
) -> FieldWriterRaw<'_, u32, OAR1_SPEC, u16, u16, Safe, 10, 0>
pub fn oa1( &mut self ) -> FieldWriterRaw<'_, u32, OAR1_SPEC, u16, u16, Safe, 10, 0>
Bits 0:9 - Interface address
pub fn oa1mode(
&mut self
) -> BitWriterRaw<'_, u32, OAR1_SPEC, OA1MODE_A, BitM, 10>
pub fn oa1mode( &mut self ) -> BitWriterRaw<'_, u32, OAR1_SPEC, OA1MODE_A, BitM, 10>
Bit 10 - Own Address 1 10-bit mode
Methods from Deref<Target = W<OAR1_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