Struct stm32_metapac::hrtim::regs::Timxsetr
#[repr(transparent)]pub struct Timxsetr(pub u32);
Expand description
Timerx OutputX Set Register
Tuple Fields§
§0: u32
Implementations§
§impl Timxsetr
impl Timxsetr
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_mstcmpx(&mut self, n: usize, val: bool)
pub fn set_mstcmpx(&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 Timxsetr
impl Eq for Timxsetr
impl StructuralPartialEq for Timxsetr
Auto Trait Implementations§
impl Freeze for Timxsetr
impl RefUnwindSafe for Timxsetr
impl Send for Timxsetr
impl Sync for Timxsetr
impl Unpin for Timxsetr
impl UnwindSafe for Timxsetr
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
)