Struct Csr1
#[repr(transparent)]pub struct Csr1(pub u32);Expand description
COMP1 control and status register.
Tuple Fields§
§0: u32Implementations§
§impl Csr1
impl Csr1
pub const fn innsel(&self) -> Comp1Innsel
pub const fn innsel(&self) -> Comp1Innsel
COMP1 input minus selection.
pub const fn set_innsel(&mut self, val: Comp1Innsel)
pub const fn set_innsel(&mut self, val: Comp1Innsel)
COMP1 input minus selection.
pub const fn set_lptimin1(&mut self, val: bool)
pub const fn set_lptimin1(&mut self, val: bool)
COMP1 LPTIM1 input 1 propagation bit.
pub const fn set_polarity(&mut self, val: Polarity)
pub const fn set_polarity(&mut self, val: Polarity)
COMP1 output polarity selection bit.
Trait Implementations§
impl Copy for Csr1
impl Eq for Csr1
impl StructuralPartialEq for Csr1
Auto Trait Implementations§
impl Freeze for Csr1
impl RefUnwindSafe for Csr1
impl Send for Csr1
impl Sync for Csr1
impl Unpin for Csr1
impl UnsafeUnpin for Csr1
impl UnwindSafe for Csr1
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