Struct stm32_metapac::hrtim::regs::Mcr
#[repr(transparent)]pub struct Mcr(pub u32);
Expand description
Master Timer Control Register
Tuple Fields§
§0: u32
Implementations§
§impl Mcr
impl Mcr
pub fn set_retrig(&mut self, val: bool)
pub fn set_retrig(&mut self, val: bool)
Master Re-triggerable mode
pub fn set_syncin(&mut self, val: Syncin)
pub fn set_syncin(&mut self, val: Syncin)
Synchronization input
pub fn set_syncrstm(&mut self, val: bool)
pub fn set_syncrstm(&mut self, val: bool)
Synchronization Resets Master
pub fn set_syncstrtm(&mut self, val: bool)
pub fn set_syncstrtm(&mut self, val: bool)
Synchronization Starts Master
pub fn set_syncout(&mut self, val: Syncout)
pub fn set_syncout(&mut self, val: Syncout)
Synchronization output
pub fn set_syncsrc(&mut self, val: Syncsrc)
pub fn set_syncsrc(&mut self, val: Syncsrc)
Synchronization source
pub fn set_dacsync(&mut self, val: Dacsync)
pub fn set_dacsync(&mut self, val: Dacsync)
AC Synchronization
pub fn set_brstdma(&mut self, val: Brstdma)
pub fn set_brstdma(&mut self, val: Brstdma)
Burst DMA Update
Trait Implementations§
impl Copy for Mcr
impl Eq for Mcr
impl StructuralPartialEq for Mcr
Auto Trait Implementations§
impl Freeze for Mcr
impl RefUnwindSafe for Mcr
impl Send for Mcr
impl Sync for Mcr
impl Unpin for Mcr
impl UnwindSafe for Mcr
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
)