#[repr(transparent)]pub struct Csr(pub u32);Expand description
Comparator Status.
Tuple Fields§
§0: u32Implementations§
Source§impl Csr
impl Csr
Sourcepub const fn cfr(&self) -> bool
pub const fn cfr(&self) -> bool
Analog Comparator Flag Rising. Write one to clear; avoid read-modify-write of other pending flags.
Sourcepub const fn set_cfr(&mut self, val: bool)
pub const fn set_cfr(&mut self, val: bool)
Analog Comparator Flag Rising. Write one to clear; avoid read-modify-write of other pending flags.
Sourcepub const fn cff(&self) -> bool
pub const fn cff(&self) -> bool
Analog Comparator Flag Falling. Write one to clear; avoid read-modify-write of other pending flags.
Sourcepub const fn set_cff(&mut self, val: bool)
pub const fn set_cff(&mut self, val: bool)
Analog Comparator Flag Falling. Write one to clear; avoid read-modify-write of other pending flags.
Sourcepub const fn rrf(&self) -> bool
pub const fn rrf(&self) -> bool
Round-Robin Flag. Write one to clear; avoid read-modify-write of other pending flags.
Trait Implementations§
impl Copy for Csr
impl Eq for Csr
impl StructuralPartialEq for Csr
Auto Trait Implementations§
impl Freeze for Csr
impl RefUnwindSafe for Csr
impl Send for Csr
impl Sync for Csr
impl Unpin for Csr
impl UnwindSafe for Csr
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