pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations§
source§impl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn comp2_en(&mut self) -> _COMP2_ENW<'_>
pub fn comp2_en(&mut self) -> _COMP2_ENW<'_>
Bit 0 - Comparator 2 enable bit
sourcepub fn comp2_pwrmode(&mut self) -> _COMP2_PWRMODEW<'_>
pub fn comp2_pwrmode(&mut self) -> _COMP2_PWRMODEW<'_>
Bits 2:3 - Power Mode of the comparator 2
sourcepub fn comp2_inmsel(&mut self) -> _COMP2_INMSELW<'_>
pub fn comp2_inmsel(&mut self) -> _COMP2_INMSELW<'_>
Bits 4:6 - Comparator 2 Input Minus connection configuration bit
sourcepub fn comp2_inpsel(&mut self) -> _COMP2_INPSELW<'_>
pub fn comp2_inpsel(&mut self) -> _COMP2_INPSELW<'_>
Bit 7 - Comparator 2 Input Plus connection configuration bit
sourcepub fn comp2_winmode(&mut self) -> _COMP2_WINMODEW<'_>
pub fn comp2_winmode(&mut self) -> _COMP2_WINMODEW<'_>
Bit 9 - Windows mode selection bit
sourcepub fn comp2_polarity(&mut self) -> _COMP2_POLARITYW<'_>
pub fn comp2_polarity(&mut self) -> _COMP2_POLARITYW<'_>
Bit 15 - Comparator 2 polarity selection bit
sourcepub fn comp2_hyst(&mut self) -> _COMP2_HYSTW<'_>
pub fn comp2_hyst(&mut self) -> _COMP2_HYSTW<'_>
Bits 16:17 - Comparator 2 hysteresis selection bits
sourcepub fn comp2_blanking(&mut self) -> _COMP2_BLANKINGW<'_>
pub fn comp2_blanking(&mut self) -> _COMP2_BLANKINGW<'_>
Bits 18:20 - Comparator 2 blanking source selection bits
sourcepub fn comp2_brgen(&mut self) -> _COMP2_BRGENW<'_>
pub fn comp2_brgen(&mut self) -> _COMP2_BRGENW<'_>
Bit 22 - Scaler bridge enable
sourcepub fn comp2_scalen(&mut self) -> _COMP2_SCALENW<'_>
pub fn comp2_scalen(&mut self) -> _COMP2_SCALENW<'_>
Bit 23 - Voltage scaler enable bit
sourcepub fn comp2_lock(&mut self) -> _COMP2_LOCKW<'_>
pub fn comp2_lock(&mut self) -> _COMP2_LOCKW<'_>
Bit 31 - COMP2_CSR register lock bit