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<'_>
Bits 7:8 - 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_inmesel(&mut self) -> _COMP2_INMESELW<'_>
pub fn comp2_inmesel(&mut self) -> _COMP2_INMESELW<'_>
Bits 25:26 - comparator 2 input minus extended selection bits
Sourcepub fn comp2_lock(&mut self) -> _COMP2_LOCKW<'_>
pub fn comp2_lock(&mut self) -> _COMP2_LOCKW<'_>
Bit 31 - COMP2_CSR register lock bit
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more