[−][src]Struct stm32h7xx_hal::stm32::comp1::cfgr1::R
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
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