[−][src]Struct stm32l4x6::comp::comp2_csr::R
Value read from the register
Methods
impl R[src]
impl Rpub fn bits(&self) -> u32[src]
pub fn bits(&self) -> u32Value of the register as raw bits
pub fn comp2_en(&self) -> COMP2_ENR[src]
pub fn comp2_en(&self) -> COMP2_ENRBit 0 - Comparator 2 enable bit
pub fn comp2_pwrmode(&self) -> COMP2_PWRMODER[src]
pub fn comp2_pwrmode(&self) -> COMP2_PWRMODERBits 2:3 - Power Mode of the comparator 2
pub fn comp2_inmsel(&self) -> COMP2_INMSELR[src]
pub fn comp2_inmsel(&self) -> COMP2_INMSELRBits 4:6 - Comparator 2 Input Minus connection configuration bit
pub fn comp2_inpsel(&self) -> COMP2_INPSELR[src]
pub fn comp2_inpsel(&self) -> COMP2_INPSELRBit 7 - Comparator 2 Input Plus connection configuration bit
pub fn comp2_winmode(&self) -> COMP2_WINMODER[src]
pub fn comp2_winmode(&self) -> COMP2_WINMODERBit 9 - Windows mode selection bit
pub fn comp2_polarity(&self) -> COMP2_POLARITYR[src]
pub fn comp2_polarity(&self) -> COMP2_POLARITYRBit 15 - Comparator 2 polarity selection bit
pub fn comp2_hyst(&self) -> COMP2_HYSTR[src]
pub fn comp2_hyst(&self) -> COMP2_HYSTRBits 16:17 - Comparator 2 hysteresis selection bits
pub fn comp2_blanking(&self) -> COMP2_BLANKINGR[src]
pub fn comp2_blanking(&self) -> COMP2_BLANKINGRBits 18:20 - Comparator 2 blanking source selection bits
pub fn comp2_brgen(&self) -> COMP2_BRGENR[src]
pub fn comp2_brgen(&self) -> COMP2_BRGENRBit 22 - Scaler bridge enable
pub fn comp2_scalen(&self) -> COMP2_SCALENR[src]
pub fn comp2_scalen(&self) -> COMP2_SCALENRBit 23 - Voltage scaler enable bit
pub fn comp2_value(&self) -> COMP2_VALUER[src]
pub fn comp2_value(&self) -> COMP2_VALUERBit 30 - Comparator 2 output status 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