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 comp1_en(&mut self) -> _COMP1_ENW<'_>
pub fn comp1_en(&mut self) -> _COMP1_ENW<'_>
Bit 0 - Comparator 1 enable bit
Sourcepub fn comp1_pwrmode(&mut self) -> _COMP1_PWRMODEW<'_>
pub fn comp1_pwrmode(&mut self) -> _COMP1_PWRMODEW<'_>
Bits 2:3 - Power Mode of the comparator 1
Sourcepub fn comp1_inmsel(&mut self) -> _COMP1_INMSELW<'_>
pub fn comp1_inmsel(&mut self) -> _COMP1_INMSELW<'_>
Bits 4:6 - Comparator 1 Input Minus connection configuration bit
Sourcepub fn comp1_inpsel(&mut self) -> _COMP1_INPSELW<'_>
pub fn comp1_inpsel(&mut self) -> _COMP1_INPSELW<'_>
Bits 7:8 - Comparator1 input plus selection bit
Sourcepub fn comp1_polarity(&mut self) -> _COMP1_POLARITYW<'_>
pub fn comp1_polarity(&mut self) -> _COMP1_POLARITYW<'_>
Bit 15 - Comparator 1 polarity selection bit
Sourcepub fn comp1_hyst(&mut self) -> _COMP1_HYSTW<'_>
pub fn comp1_hyst(&mut self) -> _COMP1_HYSTW<'_>
Bits 16:17 - Comparator 1 hysteresis selection bits
Sourcepub fn comp1_blanking(&mut self) -> _COMP1_BLANKINGW<'_>
pub fn comp1_blanking(&mut self) -> _COMP1_BLANKINGW<'_>
Bits 18:20 - Comparator 1 blanking source selection bits
Sourcepub fn comp1_brgen(&mut self) -> _COMP1_BRGENW<'_>
pub fn comp1_brgen(&mut self) -> _COMP1_BRGENW<'_>
Bit 22 - Scaler bridge enable
Sourcepub fn comp1_scalen(&mut self) -> _COMP1_SCALENW<'_>
pub fn comp1_scalen(&mut self) -> _COMP1_SCALENW<'_>
Bit 23 - Voltage scaler enable bit
Sourcepub fn comp1_inmesel(&mut self) -> _COMP1_INMESELW<'_>
pub fn comp1_inmesel(&mut self) -> _COMP1_INMESELW<'_>
Bits 25:26 - comparator 1 input minus extended selection bits
Sourcepub fn comp1_lock(&mut self) -> _COMP1_LOCKW<'_>
pub fn comp1_lock(&mut self) -> _COMP1_LOCKW<'_>
Bit 31 - COMP1_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