[−][src]Struct stm32l432_pac::comp::comp2_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 comp2_en(&mut self) -> _COMP2_ENW
[src]
Bit 0 - Comparator 2 enable bit
pub fn comp2_pwrmode(&mut self) -> _COMP2_PWRMODEW
[src]
Bits 2:3 - Power Mode of the comparator 2
pub fn comp2_inmsel(&mut self) -> _COMP2_INMSELW
[src]
Bits 4:6 - Comparator 2 Input Minus connection configuration bit
pub fn comp2_inpsel(&mut self) -> _COMP2_INPSELW
[src]
Bits 7:8 - Comparator 2 Input Plus connection configuration bit
pub fn comp2_winmode(&mut self) -> _COMP2_WINMODEW
[src]
Bit 9 - Windows mode selection bit
pub fn comp2_polarity(&mut self) -> _COMP2_POLARITYW
[src]
Bit 15 - Comparator 2 polarity selection bit
pub fn comp2_hyst(&mut self) -> _COMP2_HYSTW
[src]
Bits 16:17 - Comparator 2 hysteresis selection bits
pub fn comp2_blanking(&mut self) -> _COMP2_BLANKINGW
[src]
Bits 18:20 - Comparator 2 blanking source selection bits
pub fn comp2_brgen(&mut self) -> _COMP2_BRGENW
[src]
Bit 22 - Scaler bridge enable
pub fn comp2_scalen(&mut self) -> _COMP2_SCALENW
[src]
Bit 23 - Voltage scaler enable bit
pub fn comp2_inmesel(&mut self) -> _COMP2_INMESELW
[src]
Bits 25:26 - comparator 2 input minus extended selection bits
pub fn comp2_lock(&mut self) -> _COMP2_LOCKW
[src]
Bit 31 - COMP2_CSR register lock bit
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom 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> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto 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 for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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 for T
type Output = T
Should always be Self