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: Syncrst)
pub fn set_syncrst(&mut self, val: Syncrst)
Synchronization Resets Timer X
pub fn set_syncstrt(&mut self, val: Syncstrt)
pub fn set_syncstrt(&mut self, val: Syncstrt)
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 StructuralEq for Timxcr
impl StructuralPartialEq for Timxcr
Auto Trait Implementations§
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