Struct stm32l4x6::comp::comp1_csr::R
[−]
[src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
fn bits(&self) -> u32
Value of the register as raw bits
fn comp1_en(&self) -> Comp1EnR
Bit 0 - Comparator 1 enable bit
fn comp1_pwrmode(&self) -> Comp1PwrmodeR
Bits 2:3 - Power Mode of the comparator 1
fn comp1_inmsel(&self) -> Comp1InmselR
Bits 4:6 - Comparator 1 Input Minus connection configuration bit
fn comp1_inpsel(&self) -> Comp1InpselR
Bit 7 - Comparator1 input plus selection bit
fn comp1_polarity(&self) -> Comp1PolarityR
Bit 15 - Comparator 1 polarity selection bit
fn comp1_hyst(&self) -> Comp1HystR
Bits 16:17 - Comparator 1 hysteresis selection bits
fn comp1_blanking(&self) -> Comp1BlankingR
Bits 18:20 - Comparator 1 blanking source selection bits
fn comp1_brgen(&self) -> Comp1BrgenR
Bit 22 - Scaler bridge enable
fn comp1_scalen(&self) -> Comp1ScalenR
Bit 23 - Voltage scaler enable bit
fn comp1_value(&self) -> Comp1ValueR
Bit 30 - Comparator 1 output status bit