#[repr(transparent)]pub struct Capclr(pub u32);Expand description
Capture Clear.
Tuple Fields§
§0: u32Implementations§
Source§impl Capclr
impl Capclr
Sourcepub const fn capclr0(&self) -> bool
pub const fn capclr0(&self) -> bool
Clear Capture 0. Raw bit values: false (0) = Capclr0nothing: Does nothing.; true (1) = Capclr0cleared: 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. Raw bit values: false (0) = Capclr0nothing: Does nothing.; true (1) = Capclr0cleared: Clears the CAP0 register value.
Sourcepub const fn capclr1(&self) -> bool
pub const fn capclr1(&self) -> bool
Clear Capture 1. Raw bit values: false (0) = Capclr1nothing: Does nothing.; true (1) = Capclr1cleared: 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. Raw bit values: false (0) = Capclr1nothing: Does nothing.; true (1) = Capclr1cleared: Clears the CAP1 register value.
Sourcepub const fn capclr2(&self) -> bool
pub const fn capclr2(&self) -> bool
Clear Capture 2. Raw bit values: false (0) = Capclr2nothing: Does nothing.; true (1) = Capclr2cleared: 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. Raw bit values: false (0) = Capclr2nothing: Does nothing.; true (1) = Capclr2cleared: Clears the CAP2 register value.
Sourcepub const fn capclr3(&self) -> bool
pub const fn capclr3(&self) -> bool
Clear Capture 3. Raw bit values: false (0) = Capclr3nothing: Does nothing.; true (1) = Capclr3cleared: 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. Raw bit values: false (0) = Capclr3nothing: Does nothing.; true (1) = Capclr3cleared: Clears the CAP3 register value.