[−][src]Struct stm32l4x6::comp::comp1_csr::W
Value to write to the register
Methods
impl W[src]
impl Wpub fn reset_value() -> W[src]
pub fn reset_value() -> WReset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut SelfWrites raw bits to the register
pub fn comp1_en(&mut self) -> _COMP1_ENW[src]
pub fn comp1_en(&mut self) -> _COMP1_ENWBit 0 - Comparator 1 enable bit
pub fn comp1_pwrmode(&mut self) -> _COMP1_PWRMODEW[src]
pub fn comp1_pwrmode(&mut self) -> _COMP1_PWRMODEWBits 2:3 - Power Mode of the comparator 1
pub fn comp1_inmsel(&mut self) -> _COMP1_INMSELW[src]
pub fn comp1_inmsel(&mut self) -> _COMP1_INMSELWBits 4:6 - Comparator 1 Input Minus connection configuration bit
pub fn comp1_inpsel(&mut self) -> _COMP1_INPSELW[src]
pub fn comp1_inpsel(&mut self) -> _COMP1_INPSELWBit 7 - Comparator1 input plus selection bit
pub fn comp1_polarity(&mut self) -> _COMP1_POLARITYW[src]
pub fn comp1_polarity(&mut self) -> _COMP1_POLARITYWBit 15 - Comparator 1 polarity selection bit
pub fn comp1_hyst(&mut self) -> _COMP1_HYSTW[src]
pub fn comp1_hyst(&mut self) -> _COMP1_HYSTWBits 16:17 - Comparator 1 hysteresis selection bits
pub fn comp1_blanking(&mut self) -> _COMP1_BLANKINGW[src]
pub fn comp1_blanking(&mut self) -> _COMP1_BLANKINGWBits 18:20 - Comparator 1 blanking source selection bits
pub fn comp1_brgen(&mut self) -> _COMP1_BRGENW[src]
pub fn comp1_brgen(&mut self) -> _COMP1_BRGENWBit 22 - Scaler bridge enable
pub fn comp1_scalen(&mut self) -> _COMP1_SCALENW[src]
pub fn comp1_scalen(&mut self) -> _COMP1_SCALENWBit 23 - Voltage scaler enable bit
pub fn comp1_lock(&mut self) -> _COMP1_LOCKW[src]
pub fn comp1_lock(&mut self) -> _COMP1_LOCKWBit 31 - COMP1_CSR register lock bit
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more