[][src]Type Definition stm32f3::stm32f303::opamp::opamp2_csr::W

type W = W<u32, OPAMP2_CSR>;

Writer for register OPAMP2_CSR

Methods

impl W[src]

pub fn opamp2en(&mut self) -> OPAMP2EN_W[src]

Bit 0 - OPAMP2 enable

pub fn force_vp(&mut self) -> FORCE_VP_W[src]

Bit 1 - FORCE_VP

pub fn vp_sel(&mut self) -> VP_SEL_W[src]

Bits 2:3 - OPAMP Non inverting input selection

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

Bits 5:6 - OPAMP inverting input selection

pub fn tcm_en(&mut self) -> TCM_EN_W[src]

Bit 7 - Timer controlled Mux mode enable

pub fn vms_sel(&mut self) -> VMS_SEL_W[src]

Bit 8 - OPAMP inverting input secondary selection

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

Bits 9:10 - OPAMP Non inverting input secondary selection

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

Bit 11 - Calibration mode enable

pub fn calsel(&mut self) -> CALSEL_W[src]

Bits 12:13 - Calibration selection

pub fn pga_gain(&mut self) -> PGA_GAIN_W[src]

Bits 14:17 - Gain in PGA mode

pub fn user_trim(&mut self) -> USER_TRIM_W[src]

Bit 18 - User trimming enable

pub fn trimoffsetp(&mut self) -> TRIMOFFSETP_W[src]

Bits 19:23 - Offset trimming value (PMOS)

pub fn trimoffsetn(&mut self) -> TRIMOFFSETN_W[src]

Bits 24:28 - Offset trimming value (NMOS)

pub fn tstref(&mut self) -> TSTREF_W[src]

Bit 29 - TSTREF

pub fn lock(&mut self) -> LOCK_W[src]

Bit 31 - OPAMP lock