Struct stm32_metapac::hrtim::regs::Timxrstr
#[repr(transparent)]pub struct Timxrstr(pub u32);
Expand description
Timerx OutputX Reset Register
Tuple Fields§
§0: u32
Implementations§
§impl Timxrstr
impl Timxrstr
pub fn set_resync(&mut self, val: bool)
pub fn set_resync(&mut self, val: bool)
Timer X resynchronizaton
pub fn set_mstper(&mut self, val: bool)
pub fn set_mstper(&mut self, val: bool)
Master Period
pub fn set_mstcmp(&mut self, n: usize, val: bool)
pub fn set_mstcmp(&mut self, n: usize, val: bool)
Master Compare X
pub fn set_timevnt(&mut self, n: usize, val: bool)
pub fn set_timevnt(&mut self, n: usize, val: bool)
Timer Event X
pub fn set_extevnt(&mut self, n: usize, val: bool)
pub fn set_extevnt(&mut self, n: usize, val: bool)
External Event X
pub fn set_update(&mut self, val: bool)
pub fn set_update(&mut self, val: bool)
Registers update (transfer preload to active)
Trait Implementations§
impl Copy for Timxrstr
impl Eq for Timxrstr
impl StructuralPartialEq for Timxrstr
Auto Trait Implementations§
impl Freeze for Timxrstr
impl RefUnwindSafe for Timxrstr
impl Send for Timxrstr
impl Sync for Timxrstr
impl Unpin for Timxrstr
impl UnwindSafe for Timxrstr
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
)