[−][src]Struct stm32f3::stm32f373::syscfg_comp_opamp::opamp2_csr::W
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W | [src] |
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self | [src] |
Writes raw bits to the register
pub fn opamp2en(&mut self) -> _OPAMP2ENW | [src] |
Bit 0 - OPAMP2 enable
pub fn force_vp(&mut self) -> _FORCE_VPW | [src] |
Bit 1 - FORCE_VP
pub fn vp_sel(&mut self) -> _VP_SELW | [src] |
Bits 2:3 - OPAMP2 Non inverting input selection
pub fn vm_sel(&mut self) -> _VM_SELW | [src] |
Bits 5:6 - OPAMP2 inverting input selection
pub fn tcm_en(&mut self) -> _TCM_ENW | [src] |
Bit 7 - Timer controlled Mux mode enable
pub fn vms_sel(&mut self) -> _VMS_SELW | [src] |
Bit 8 - OPAMP2 inverting input secondary selection
pub fn vps_sel(&mut self) -> _VPS_SELW | [src] |
Bits 9:10 - OPAMP2 Non inverting input secondary selection
pub fn calon(&mut self) -> _CALONW | [src] |
Bit 11 - Calibration mode enable
pub fn cal_sel(&mut self) -> _CAL_SELW | [src] |
Bits 12:13 - Calibration selection
pub fn pga_gain(&mut self) -> _PGA_GAINW | [src] |
Bits 14:17 - Gain in PGA mode
pub fn user_trim(&mut self) -> _USER_TRIMW | [src] |
Bit 18 - User trimming enable
pub fn trimoffsetp(&mut self) -> _TRIMOFFSETPW | [src] |
Bits 19:23 - Offset trimming value (PMOS)
pub fn trimoffsetn(&mut self) -> _TRIMOFFSETNW | [src] |
Bits 24:28 - Offset trimming value (NMOS)
pub fn tstref(&mut self) -> _TSTREFW | [src] |
Bit 29 - TSTREF
pub fn lock(&mut self) -> _LOCKW | [src] |
Bit 31 - OPAMP 2 lock
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |