Struct Mcr
#[repr(transparent)]pub struct Mcr(pub u32);Expand description
Master Timer Control Register
Tuple Fields§
§0: u32Implementations§
§impl Mcr
impl Mcr
pub const fn set_retrig(&mut self, val: bool)
pub const fn set_retrig(&mut self, val: bool)
Master Re-triggerable mode
pub const fn set_syncin(&mut self, val: Syncin)
pub const fn set_syncin(&mut self, val: Syncin)
Synchronization input
pub const fn set_syncrstm(&mut self, val: bool)
pub const fn set_syncrstm(&mut self, val: bool)
Synchronization Resets Master
pub const fn set_syncstrtm(&mut self, val: bool)
pub const fn set_syncstrtm(&mut self, val: bool)
Synchronization Starts Master
pub const fn set_syncout(&mut self, val: Syncout)
pub const fn set_syncout(&mut self, val: Syncout)
Synchronization output
pub const fn set_syncsrc(&mut self, val: Syncsrc)
pub const fn set_syncsrc(&mut self, val: Syncsrc)
Synchronization source
pub const fn set_dacsync(&mut self, val: Dacsync)
pub const fn set_dacsync(&mut self, val: Dacsync)
AC Synchronization
pub const fn set_brstdma(&mut self, val: Brstdma)
pub const 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