[][src]Struct stm32f3::stm32f303::opamp::opamp4_csr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn opamp4en(&mut self) -> _OPAMP4ENW[src]

Bit 0 - OPAMP4 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 - OPAMP Non inverting input selection

pub fn vm_sel(&mut self) -> _VM_SELW[src]

Bits 5:6 - OPAMP 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 - OPAMP inverting input secondary selection

pub fn vps_sel(&mut self) -> _VPS_SELW[src]

Bits 9:10 - OPAMP Non inverting input secondary selection

pub fn calon(&mut self) -> _CALONW[src]

Bit 11 - Calibration mode enable

pub fn calsel(&mut self) -> _CALSELW[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 lock

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self