Struct alt_stm32f30x_hal::pac::opamp::opamp2_csr::R
source · [−]pub struct R(_);
Expand description
Register OPAMP2_CSR
reader
Implementations
sourceimpl R
impl R
sourcepub fn opamp2en(&self) -> OPAMP2EN_R
pub fn opamp2en(&self) -> OPAMP2EN_R
Bit 0 - OPAMP2 enable
sourcepub fn force_vp(&self) -> FORCE_VP_R
pub fn force_vp(&self) -> FORCE_VP_R
Bit 1 - FORCE_VP
sourcepub fn pga_gain(&self) -> PGA_GAIN_R
pub fn pga_gain(&self) -> PGA_GAIN_R
Bits 14:17 - Gain in PGA mode
sourcepub fn user_trim(&self) -> USER_TRIM_R
pub fn user_trim(&self) -> USER_TRIM_R
Bit 18 - User trimming enable
sourcepub fn trimoffsetp(&self) -> TRIMOFFSETP_R
pub fn trimoffsetp(&self) -> TRIMOFFSETP_R
Bits 19:23 - Offset trimming value (PMOS)
sourcepub fn trimoffsetn(&self) -> TRIMOFFSETN_R
pub fn trimoffsetn(&self) -> TRIMOFFSETN_R
Bits 24:28 - Offset trimming value (NMOS)
Methods from Deref<Target = R<OPAMP2_CSR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<OPAMP2_CSR_SPEC>> for R
impl From<R<OPAMP2_CSR_SPEC>> for R
sourcefn from(reader: R<OPAMP2_CSR_SPEC>) -> R
fn from(reader: R<OPAMP2_CSR_SPEC>) -> R
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