#[repr(transparent)]pub struct C0(pub u32);Expand description
CMP Control Register 0
Tuple Fields§
§0: u32Implementations§
Source§impl C0
impl C0
Sourcepub const fn hystctr(&self) -> Hystctr
pub const fn hystctr(&self) -> Hystctr
Comparator hard block hysteresis control. See chip data sheet to get the actual hystersis value with each level
Sourcepub const fn set_hystctr(&mut self, val: Hystctr)
pub const fn set_hystctr(&mut self, val: Hystctr)
Comparator hard block hysteresis control. See chip data sheet to get the actual hystersis value with each level
Sourcepub const fn filter_cnt(&self) -> FilterCnt
pub const fn filter_cnt(&self) -> FilterCnt
Filter Sample Count
Sourcepub const fn set_filter_cnt(&mut self, val: FilterCnt)
pub const fn set_filter_cnt(&mut self, val: FilterCnt)
Filter Sample Count
Sourcepub const fn set_linken(&mut self, val: Linken)
pub const fn set_linken(&mut self, val: Linken)
CMP to DAC link enable.
Trait Implementations§
impl Copy for C0
impl Eq for C0
impl StructuralPartialEq for C0
Auto Trait Implementations§
impl Freeze for C0
impl RefUnwindSafe for C0
impl Send for C0
impl Sync for C0
impl Unpin for C0
impl UnwindSafe for C0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more