Struct stm32_metapac::hrtim::regs::HrtimBmtrgr
#[repr(transparent)]pub struct HrtimBmtrgr(pub u32);
Expand description
High Resolution Timer: Burst Mode Trigger Register
Tuple Fields§
§0: u32
Implementations§
§impl HrtimBmtrgr
impl HrtimBmtrgr
pub fn set_mstrst(&mut self, val: bool)
pub fn set_mstrst(&mut self, val: bool)
Master reset or roll-over
pub fn set_mstrep(&mut self, val: bool)
pub fn set_mstrep(&mut self, val: bool)
Master repetition
pub fn set_mstcmp(&mut self, n: usize, val: bool)
pub fn set_mstcmp(&mut self, n: usize, val: bool)
Master Compare X
Trait Implementations§
§impl Clone for HrtimBmtrgr
impl Clone for HrtimBmtrgr
§fn clone(&self) -> HrtimBmtrgr
fn clone(&self) -> HrtimBmtrgr
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 HrtimBmtrgr
impl Default for HrtimBmtrgr
§fn default() -> HrtimBmtrgr
fn default() -> HrtimBmtrgr
Returns the “default value” for a type. Read more
§impl PartialEq for HrtimBmtrgr
impl PartialEq for HrtimBmtrgr
§fn eq(&self, other: &HrtimBmtrgr) -> bool
fn eq(&self, other: &HrtimBmtrgr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HrtimBmtrgr
impl Eq for HrtimBmtrgr
impl StructuralEq for HrtimBmtrgr
impl StructuralPartialEq for HrtimBmtrgr
Auto Trait Implementations§
impl RefUnwindSafe for HrtimBmtrgr
impl Send for HrtimBmtrgr
impl Sync for HrtimBmtrgr
impl Unpin for HrtimBmtrgr
impl UnwindSafe for HrtimBmtrgr
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