Struct stm32l4x6::opamp::opamp1_csr::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
fn opaen(&mut self) -> _OpaenW
Bit 0 - Operational amplifier Enable
fn opalpm(&mut self) -> _OpalpmW
Bit 1 - Operational amplifier Low Power Mode
fn opamode(&mut self) -> _OpamodeW
Bits 2:3 - Operational amplifier PGA mode
fn pga_gain(&mut self) -> _PgaGainW
Bits 4:5 - Operational amplifier Programmable amplifier gain value
fn vm_sel(&mut self) -> _VmSelW
Bits 8:9 - Inverting input selection
fn vp_sel(&mut self) -> _VpSelW
Bit 10 - Non inverted input selection
fn calon(&mut self) -> _CalonW
Bit 12 - Calibration mode enabled
fn calsel(&mut self) -> _CalselW
Bit 13 - Calibration selection
fn usertrim(&mut self) -> _UsertrimW
Bit 14 - allows to switch from ‘factory’ AOP offset trimmed values to AOP offset ‘user’
fn calout(&mut self) -> _CaloutW
Bit 15 - Operational amplifier calibration output
fn opa_range(&mut self) -> _OpaRangeW
Bit 31 - Operational amplifier power supply range for stability