pub struct R(_);
Expand description
Register CFGR2
reader
Implementations
sourceimpl R
impl R
sourcepub fn hyst(&self) -> FieldReaderRaw<u8, u8>
pub fn hyst(&self) -> FieldReaderRaw<u8, u8>
Bits 8:9 - COMP channel 1 hysteresis selection bits
sourcepub fn inmsel(&self) -> FieldReaderRaw<u8, u8>
pub fn inmsel(&self) -> FieldReaderRaw<u8, u8>
Bits 16:18 - COMP channel 1 inverting input selection field
sourcepub fn inpsel(&self) -> BitReaderRaw<bool>
pub fn inpsel(&self) -> BitReaderRaw<bool>
Bit 20 - COMP channel 1 non-inverting input selection bit
Methods from Deref<Target = R<CFGR2_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<CFGR2_SPEC>> for R
impl From<R<CFGR2_SPEC>> for R
sourcefn from(reader: R<CFGR2_SPEC>) -> R
fn from(reader: R<CFGR2_SPEC>) -> R
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more