Struct stm32_metapac::hrtim::regs::HrtimBmcr
#[repr(transparent)]pub struct HrtimBmcr(pub u32);
Expand description
High Resolution Timer: Burst Mode Control Register
Tuple Fields§
§0: u32
Implementations§
§impl HrtimBmcr
impl HrtimBmcr
pub fn set_bmprsc(&mut self, val: u8)
pub fn set_bmprsc(&mut self, val: u8)
Burst Mode Prescaler
pub fn set_bmpren(&mut self, val: bool)
pub fn set_bmpren(&mut self, val: bool)
Burst Mode Preload Enable
pub const fn bmstat(&self) -> bool
pub fn set_bmstat(&mut self, val: bool)
Trait Implementations§
impl Copy for HrtimBmcr
impl Eq for HrtimBmcr
impl StructuralPartialEq for HrtimBmcr
Auto Trait Implementations§
impl Freeze for HrtimBmcr
impl RefUnwindSafe for HrtimBmcr
impl Send for HrtimBmcr
impl Sync for HrtimBmcr
impl Unpin for HrtimBmcr
impl UnwindSafe for HrtimBmcr
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
)