Struct stm32_hal2::pac::opamp::opamp2_hsotr::W
source · [−]pub struct W(_);
Expand description
Register OPAMP2_HSOTR
writer
Implementations
sourceimpl W
impl W
sourcepub fn trimlpoffsetn(
&mut self
) -> FieldWriterRaw<'_, u32, OPAMP2_HSOTR_SPEC, u8, u8, Unsafe, 5, 0>
pub fn trimlpoffsetn(
&mut self
) -> FieldWriterRaw<'_, u32, OPAMP2_HSOTR_SPEC, u8, u8, Unsafe, 5, 0>
Bits 0:4 - Trim for NMOS differential pairs
sourcepub fn trimlpoffsetp(
&mut self
) -> FieldWriterRaw<'_, u32, OPAMP2_HSOTR_SPEC, u8, u8, Unsafe, 5, 8>
pub fn trimlpoffsetp(
&mut self
) -> FieldWriterRaw<'_, u32, OPAMP2_HSOTR_SPEC, u8, u8, Unsafe, 5, 8>
Bits 8:12 - Trim for PMOS differential pairs
Methods from Deref<Target = W<OPAMP2_HSOTR_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
sourceimpl From<W<OPAMP2_HSOTR_SPEC>> for W
impl From<W<OPAMP2_HSOTR_SPEC>> for W
sourcefn from(writer: W<OPAMP2_HSOTR_SPEC>) -> W
fn from(writer: W<OPAMP2_HSOTR_SPEC>) -> W
Converts to this type from the input type.
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