Struct stm32l4x6::comp::comp2_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 comp2_en(&self) -> Comp2EnR
Bit 0 - Comparator 2 enable bit
fn comp2_pwrmode(&self) -> Comp2PwrmodeR
Bits 2:3 - Power Mode of the comparator 2
fn comp2_inmsel(&self) -> Comp2InmselR
Bits 4:6 - Comparator 2 Input Minus connection configuration bit
fn comp2_inpsel(&self) -> Comp2InpselR
Bit 7 - Comparator 2 Input Plus connection configuration bit
fn comp2_winmode(&self) -> Comp2WinmodeR
Bit 9 - Windows mode selection bit
fn comp2_polarity(&self) -> Comp2PolarityR
Bit 15 - Comparator 2 polarity selection bit
fn comp2_hyst(&self) -> Comp2HystR
Bits 16:17 - Comparator 2 hysteresis selection bits
fn comp2_blanking(&self) -> Comp2BlankingR
Bits 18:20 - Comparator 2 blanking source selection bits
fn comp2_brgen(&self) -> Comp2BrgenR
Bit 22 - Scaler bridge enable
fn comp2_scalen(&self) -> Comp2ScalenR
Bit 23 - Voltage scaler enable bit
fn comp2_value(&self) -> Comp2ValueR
Bit 30 - Comparator 2 output status bit