pub struct R { /* private fields */ }
Expand description
Value read from the register
Implementations§
source§impl R
impl R
sourcepub fn comp2_pwrmode(&self) -> COMP2_PWRMODER
pub fn comp2_pwrmode(&self) -> COMP2_PWRMODER
Bits 2:3 - Power Mode of the comparator 2
sourcepub fn comp2_inmsel(&self) -> COMP2_INMSELR
pub fn comp2_inmsel(&self) -> COMP2_INMSELR
Bits 4:6 - Comparator 2 Input Minus connection configuration bit
sourcepub fn comp2_inpsel(&self) -> COMP2_INPSELR
pub fn comp2_inpsel(&self) -> COMP2_INPSELR
Bit 7 - Comparator 2 Input Plus connection configuration bit
sourcepub fn comp2_winmode(&self) -> COMP2_WINMODER
pub fn comp2_winmode(&self) -> COMP2_WINMODER
Bit 9 - Windows mode selection bit
sourcepub fn comp2_polarity(&self) -> COMP2_POLARITYR
pub fn comp2_polarity(&self) -> COMP2_POLARITYR
Bit 15 - Comparator 2 polarity selection bit
sourcepub fn comp2_hyst(&self) -> COMP2_HYSTR
pub fn comp2_hyst(&self) -> COMP2_HYSTR
Bits 16:17 - Comparator 2 hysteresis selection bits
sourcepub fn comp2_blanking(&self) -> COMP2_BLANKINGR
pub fn comp2_blanking(&self) -> COMP2_BLANKINGR
Bits 18:20 - Comparator 2 blanking source selection bits
sourcepub fn comp2_brgen(&self) -> COMP2_BRGENR
pub fn comp2_brgen(&self) -> COMP2_BRGENR
Bit 22 - Scaler bridge enable
sourcepub fn comp2_scalen(&self) -> COMP2_SCALENR
pub fn comp2_scalen(&self) -> COMP2_SCALENR
Bit 23 - Voltage scaler enable bit
sourcepub fn comp2_value(&self) -> COMP2_VALUER
pub fn comp2_value(&self) -> COMP2_VALUER
Bit 30 - Comparator 2 output status bit