pub struct Cmp1 { /* private fields */ }Expand description
Low-power comparator. Registers require word writes; byte, halfword and word reads are supported. Input connections are instance-specific.
Implementations§
Source§impl Cmp1
impl Cmp1
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn csr(self) -> Reg<Csr, RW>
pub const fn csr(self) -> Reg<Csr, RW>
Comparator status. CFR/CFF/RRF are write-one-to-clear, COUT is read-only. DMA can clear edge flags.
Trait Implementations§
impl Copy for Cmp1
impl Eq for Cmp1
impl Send for Cmp1
impl StructuralPartialEq for Cmp1
impl Sync for Cmp1
Auto Trait Implementations§
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