#[repr(transparent)]pub struct Capclr(pub u32);Expand description
Capture clear register.
Tuple Fields§
§0: u32Implementations§
Source§impl Capclr
impl Capclr
Sourcepub const fn capclr0(&self) -> bool
pub const fn capclr0(&self) -> bool
Clear capture 0. Writing 1 to this bit clears the CAP0 register value.
Sourcepub const fn set_capclr0(&mut self, val: bool)
pub const fn set_capclr0(&mut self, val: bool)
Clear capture 0. Writing 1 to this bit clears the CAP0 register value.
Sourcepub const fn capclr1(&self) -> bool
pub const fn capclr1(&self) -> bool
Clear capture 1. Writing 1 to this bit clears the CAP1 register value.
Sourcepub const fn set_capclr1(&mut self, val: bool)
pub const fn set_capclr1(&mut self, val: bool)
Clear capture 1. Writing 1 to this bit clears the CAP1 register value.
Sourcepub const fn capclr2(&self) -> bool
pub const fn capclr2(&self) -> bool
Clear capture 2. Writing 1 to this bit clears the CAP2 register value.
Sourcepub const fn set_capclr2(&mut self, val: bool)
pub const fn set_capclr2(&mut self, val: bool)
Clear capture 2. Writing 1 to this bit clears the CAP2 register value.
Sourcepub const fn capclr3(&self) -> bool
pub const fn capclr3(&self) -> bool
Clear capture 3. Writing 1 to this bit clears the CAP3 register value.
Sourcepub const fn set_capclr3(&mut self, val: bool)
pub const fn set_capclr3(&mut self, val: bool)
Clear capture 3. Writing 1 to this bit clears the CAP3 register value.
Trait Implementations§
impl Copy for Capclr
impl Eq for Capclr
impl StructuralPartialEq for Capclr
Auto Trait Implementations§
impl Freeze for Capclr
impl RefUnwindSafe for Capclr
impl Send for Capclr
impl Sync for Capclr
impl Unpin for Capclr
impl UnwindSafe for Capclr
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