#[repr(transparent)]pub struct Ccr0(pub u32);Expand description
Comparator Control Register 0
Tuple Fields§
§0: u32Implementations§
Source§impl Ccr0
impl Ccr0
Sourcepub const fn set_cmp_en(&mut self, val: bool)
pub const fn set_cmp_en(&mut self, val: bool)
Comparator Enable
Sourcepub const fn cmp_stop_en(&self) -> bool
pub const fn cmp_stop_en(&self) -> bool
Comparator Deep Sleep Mode Enable
Sourcepub const fn set_cmp_stop_en(&mut self, val: bool)
pub const fn set_cmp_stop_en(&mut self, val: bool)
Comparator Deep Sleep Mode Enable
Trait Implementations§
impl Copy for Ccr0
impl Eq for Ccr0
impl StructuralPartialEq for Ccr0
Auto Trait Implementations§
impl Freeze for Ccr0
impl RefUnwindSafe for Ccr0
impl Send for Ccr0
impl Sync for Ccr0
impl Unpin for Ccr0
impl UnwindSafe for Ccr0
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