[−][src]Struct stm32h7::stm32h743::comp1::cfgr1::W
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 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
Blanket Implementations
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> From<T> for T
[src]
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