Struct alt_stm32f30x_hal::stm32::opamp::opamp3_csr::W
source · [−]pub struct W(_);
Expand description
Register OPAMP3_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn opamp3en(&mut self) -> OPAMP3EN_W<'_>
pub fn opamp3en(&mut self) -> OPAMP3EN_W<'_>
Bit 0 - OPAMP3 enable
sourcepub fn force_vp(&mut self) -> FORCE_VP_W<'_>
pub fn force_vp(&mut self) -> FORCE_VP_W<'_>
Bit 1 - FORCE_VP
sourcepub fn vps_sel(&mut self) -> VPS_SEL_W<'_>
pub fn vps_sel(&mut self) -> VPS_SEL_W<'_>
Bits 9:10 - OPAMP Non inverting input secondary selection
sourcepub fn pga_gain(&mut self) -> PGA_GAIN_W<'_>
pub fn pga_gain(&mut self) -> PGA_GAIN_W<'_>
Bits 14:17 - Gain in PGA mode
sourcepub fn user_trim(&mut self) -> USER_TRIM_W<'_>
pub fn user_trim(&mut self) -> USER_TRIM_W<'_>
Bit 18 - User trimming enable
sourcepub fn trimoffsetp(&mut self) -> TRIMOFFSETP_W<'_>
pub fn trimoffsetp(&mut self) -> TRIMOFFSETP_W<'_>
Bits 19:23 - Offset trimming value (PMOS)
sourcepub fn trimoffsetn(&mut self) -> TRIMOFFSETN_W<'_>
pub fn trimoffsetn(&mut self) -> TRIMOFFSETN_W<'_>
Bits 24:28 - Offset trimming value (NMOS)
Methods from Deref<Target = W<OPAMP3_CSR_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<OPAMP3_CSR_SPEC>> for W
impl From<W<OPAMP3_CSR_SPEC>> for W
sourcefn from(writer: W<OPAMP3_CSR_SPEC>) -> W
fn from(writer: W<OPAMP3_CSR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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