pub struct W(_);Expand description
Register OAR1 writer
Implementations
sourceimpl W
impl W
sourcepub 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 7-bit addressing mode: dont care 10-bit addressing mode: bits 9:8 of address Note: These bits can be written only when OA1EN=0. OA1[7:1]: Interface address Bits 7:1 of address Note: These bits can be written only when OA1EN=0. OA1[0]: Interface address 7-bit addressing mode: dont care 10-bit addressing mode: bit 0 of address Note: This bit can be written only when OA1EN=0.
sourcepub 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 Note: This bit can be written only when OA1EN=0.
Methods from Deref<Target = W<OAR1_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