Struct stm32_metapac::hrtim::regs::Timxcr
#[repr(transparent)]pub struct Timxcr(pub u32);
Expand description
Timerx Control Register
Tuple Fields§
§0: u32
Implementations§
§impl Timxcr
impl Timxcr
pub fn set_retrig(&mut self, val: bool)
pub fn set_retrig(&mut self, val: bool)
Re-triggerable mode
pub fn set_pshpll(&mut self, val: bool)
pub fn set_pshpll(&mut self, val: bool)
Push-Pull mode enable
pub fn set_syncrst(&mut self, val: bool)
pub fn set_syncrst(&mut self, val: bool)
Synchronization Resets Timer X
pub fn set_syncstrt(&mut self, val: bool)
pub fn set_syncstrt(&mut self, val: bool)
Synchronization Starts Timer X
pub fn set_delcmp2(&mut self, val: Delcmp)
pub fn set_delcmp2(&mut self, val: Delcmp)
Delayed CMP2 mode
pub fn set_delcmp4(&mut self, val: Delcmp)
pub fn set_delcmp4(&mut self, val: Delcmp)
Delayed CMP4 mode
pub fn set_dacsync(&mut self, val: Dacsync)
pub fn set_dacsync(&mut self, val: Dacsync)
AC Synchronization
pub fn set_updgat(&mut self, val: Updgat)
pub fn set_updgat(&mut self, val: Updgat)
Update Gating
Trait Implementations§
impl Copy for Timxcr
impl Eq for Timxcr
impl StructuralPartialEq for Timxcr
Auto Trait Implementations§
impl Freeze for Timxcr
impl RefUnwindSafe for Timxcr
impl Send for Timxcr
impl Sync for Timxcr
impl Unpin for Timxcr
impl UnwindSafe for Timxcr
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
)