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_inp_dac(&mut self) -> _COMP1_INP_DACW<'_>
pub fn comp1_inp_dac(&mut self) -> _COMP1_INP_DACW<'_>
Bit 1 - COMP1_INP_DAC
Sourcepub fn comp1mode(&mut self) -> _COMP1MODEW<'_>
pub fn comp1mode(&mut self) -> _COMP1MODEW<'_>
Bits 2:3 - Comparator 1 mode
Sourcepub fn comp1insel(&mut self) -> _COMP1INSELW<'_>
pub fn comp1insel(&mut self) -> _COMP1INSELW<'_>
Bits 4:6 - Comparator 1 inverting input selection
Sourcepub fn comp1outsel(&mut self) -> _COMP1OUTSELW<'_>
pub fn comp1outsel(&mut self) -> _COMP1OUTSELW<'_>
Bits 8:10 - Comparator 1 output selection
Sourcepub fn comp1pol(&mut self) -> _COMP1POLW<'_>
pub fn comp1pol(&mut self) -> _COMP1POLW<'_>
Bit 11 - Comparator 1 output polarity
Sourcepub fn comp1hyst(&mut self) -> _COMP1HYSTW<'_>
pub fn comp1hyst(&mut self) -> _COMP1HYSTW<'_>
Bits 12:13 - Comparator 1 hysteresis
Sourcepub fn comp1lock(&mut self) -> _COMP1LOCKW<'_>
pub fn comp1lock(&mut self) -> _COMP1LOCKW<'_>
Bit 15 - Comparator 1 lock
Sourcepub fn comp2mode(&mut self) -> _COMP2MODEW<'_>
pub fn comp2mode(&mut self) -> _COMP2MODEW<'_>
Bits 18:19 - Comparator 2 mode
Sourcepub fn comp2insel(&mut self) -> _COMP2INSELW<'_>
pub fn comp2insel(&mut self) -> _COMP2INSELW<'_>
Bits 20:22 - Comparator 2 inverting input selection
Sourcepub fn comp2outsel(&mut self) -> _COMP2OUTSELW<'_>
pub fn comp2outsel(&mut self) -> _COMP2OUTSELW<'_>
Bits 24:26 - Comparator 2 output selection
Sourcepub fn comp2pol(&mut self) -> _COMP2POLW<'_>
pub fn comp2pol(&mut self) -> _COMP2POLW<'_>
Bit 27 - Comparator 2 output polarity
Sourcepub fn comp2hyst(&mut self) -> _COMP2HYSTW<'_>
pub fn comp2hyst(&mut self) -> _COMP2HYSTW<'_>
Bits 28:29 - Comparator 2 hysteresis
Sourcepub fn comp2lock(&mut self) -> _COMP2LOCKW<'_>
pub fn comp2lock(&mut self) -> _COMP2LOCKW<'_>
Bit 31 - Comparator 2 lock
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