Struct Triggermultiplier
#[repr(transparent)]pub struct Triggermultiplier(pub u32);
Expand description
The Trigger_multiplier register contains the selectors for the trigger counter multiplier.
Tuple Fields§
§0: u32
Implementations§
§impl Triggermultiplier
impl Triggermultiplier
pub fn set_mult_0(&mut self, val: bool)
pub fn set_mult_0(&mut self, val: bool)
Multiply the Trigger Counter by 2^n.
pub fn set_mult_1(&mut self, val: bool)
pub fn set_mult_1(&mut self, val: bool)
Multiply the Trigger Counter by 2^n.
pub fn set_mult_2(&mut self, val: bool)
pub fn set_mult_2(&mut self, val: bool)
Multiply the Trigger Counter by 2^n.
pub fn set_mult_3(&mut self, val: bool)
pub fn set_mult_3(&mut self, val: bool)
Multiply the Trigger Counter by 2^n.
pub fn set_mult_4(&mut self, val: bool)
pub fn set_mult_4(&mut self, val: bool)
Multiply the Trigger Counter by 2^n.
Trait Implementations§
§impl Clone for Triggermultiplier
impl Clone for Triggermultiplier
§fn clone(&self) -> Triggermultiplier
fn clone(&self) -> Triggermultiplier
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for Triggermultiplier
impl Default for Triggermultiplier
§fn default() -> Triggermultiplier
fn default() -> Triggermultiplier
Returns the “default value” for a type. Read more
§impl PartialEq for Triggermultiplier
impl PartialEq for Triggermultiplier
impl Copy for Triggermultiplier
impl Eq for Triggermultiplier
impl StructuralPartialEq for Triggermultiplier
Auto Trait Implementations§
impl Freeze for Triggermultiplier
impl RefUnwindSafe for Triggermultiplier
impl Send for Triggermultiplier
impl Sync for Triggermultiplier
impl Unpin for Triggermultiplier
impl UnwindSafe for Triggermultiplier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)