[][src]Struct stm32h7::stm32h743v::comp1::cfgr2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn en(&mut self) -> _ENW[src]

Bit 0 - COMP channel 1 enable bit

pub fn brgen(&mut self) -> _BRGENW[src]

Bit 1 - Scaler bridge enable

pub fn scalen(&mut self) -> _SCALENW[src]

Bit 2 - Voltage scaler enable bit

pub fn polarity(&mut self) -> _POLARITYW[src]

Bit 3 - COMP channel 1 polarity selection bit

pub fn winmode(&mut self) -> _WINMODEW[src]

Bit 4 - Window comparator mode selection bit

pub fn iten(&mut self) -> _ITENW[src]

Bit 6 - COMP channel 1 interrupt enable

pub fn hyst(&mut self) -> _HYSTW[src]

Bits 8:9 - COMP channel 1 hysteresis selection bits

pub fn pwrmode(&mut self) -> _PWRMODEW[src]

Bits 12:13 - Power Mode of the COMP channel 1

pub fn inmsel(&mut self) -> _INMSELW[src]

Bits 16:18 - COMP channel 1 inverting input selection field

pub fn inpsel(&mut self) -> _INPSELW[src]

Bit 20 - COMP channel 1 non-inverting input selection bit

pub fn blanking(&mut self) -> _BLANKINGW[src]

Bits 24:27 - COMP channel 1 blanking source selection bits

pub fn lock(&mut self) -> _LOCKW[src]

Bit 31 - Lock bit

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self