[−][src]Struct stm32f3::stm32f373::comp::csr::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn comp1en(&mut self) -> _COMP1ENW
[src]
Bit 0 - Comparator 1 enable
pub fn comp1mode(&mut self) -> _COMP1MODEW
[src]
Bits 2:3 - Comparator 1 mode
pub fn comp1insel(&mut self) -> _COMP1INSELW
[src]
Bits 4:6 - Comparator 1 inverting input selection
pub fn comp1outsel(&mut self) -> _COMP1OUTSELW
[src]
Bits 8:10 - Comparator 1 output selection
pub fn comp1pol(&mut self) -> _COMP1POLW
[src]
Bit 11 - Comparator 1 output polarity
pub fn comp1hyst(&mut self) -> _COMP1HYSTW
[src]
Bits 12:13 - Comparator 1 hysteresis
pub fn comp1lock(&mut self) -> _COMP1LOCKW
[src]
Bit 15 - Comparator 1 lock
pub fn comp2en(&mut self) -> _COMP2ENW
[src]
Bit 16 - Comparator 2 enable
pub fn comp2mode(&mut self) -> _COMP2MODEW
[src]
Bits 18:19 - Comparator 2 mode
pub fn comp2insel(&mut self) -> _COMP2INSELW
[src]
Bits 20:22 - Comparator 2 inverting input selection
pub fn wndwen(&mut self) -> _WNDWENW
[src]
Bit 23 - Window mode enable
pub fn comp2outsel(&mut self) -> _COMP2OUTSELW
[src]
Bits 24:26 - Comparator 2 output selection
pub fn comp2pol(&mut self) -> _COMP2POLW
[src]
Bit 27 - Comparator 2 output polarity
pub fn comp2hyst(&mut self) -> _COMP2HYSTW
[src]
Bits 28:29 - Comparator 2 hysteresis
pub fn comp2lock(&mut self) -> _COMP2LOCKW
[src]
Bit 31 - Comparator 2 lock
pub fn comp1_inp_dac(&mut self) -> _COMP1_INP_DACW
[src]
Bit 1 - Comparator 1 non inverting input connection to DAC output
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self