[][src]Struct stm32h7xx_hal::stm32::comp1::cfgr1::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

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

Bit 0 - COMP channel 1 enable bit

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

Bit 1 - Scaler bridge enable

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

Bit 2 - Voltage scaler enable bit

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

Bit 3 - COMP channel 1 polarity selection bit

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

Bit 6 - COMP channel 1 interrupt enable

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

Bits 8:9 - COMP channel 1 hysteresis selection bits

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

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

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

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

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

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

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

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

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

Bit 31 - Lock bit

Auto Trait Implementations

impl Unpin for R

impl Send for R

impl Sync for R

Blanket Implementations

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

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, 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