Struct stm32_metapac::hrtim::regs::Timxrst
#[repr(transparent)]pub struct Timxrst(pub u32);
Expand description
Timerx Reset Register
Tuple Fields§
§0: u32
Implementations§
§impl Timxrst
impl Timxrst
pub const fn tcmp1(&self, n: usize) -> Reseteffect
pub const fn tcmp1(&self, n: usize) -> Reseteffect
Timer X compare 1 event
pub fn set_tcmp1(&mut self, n: usize, val: Reseteffect)
pub fn set_tcmp1(&mut self, n: usize, val: Reseteffect)
Timer X compare 1 event
pub const fn updt(&self) -> Reseteffect
pub const fn updt(&self) -> Reseteffect
Timer X Update reset
pub fn set_updt(&mut self, val: Reseteffect)
pub fn set_updt(&mut self, val: Reseteffect)
Timer X Update reset
pub const fn cmp(&self, n: usize) -> Reseteffect
pub const fn cmp(&self, n: usize) -> Reseteffect
Timer X compare X reset
pub fn set_cmp(&mut self, n: usize, val: Reseteffect)
pub fn set_cmp(&mut self, n: usize, val: Reseteffect)
Timer X compare X reset
pub const fn mstper(&self) -> Reseteffect
pub const fn mstper(&self) -> Reseteffect
Master timer Period
pub fn set_mstper(&mut self, val: Reseteffect)
pub fn set_mstper(&mut self, val: Reseteffect)
Master timer Period
pub const fn mstcmp(&self, n: usize) -> Reseteffect
pub const fn mstcmp(&self, n: usize) -> Reseteffect
Master compare X
pub fn set_mstcmp(&mut self, n: usize, val: Reseteffect)
pub fn set_mstcmp(&mut self, n: usize, val: Reseteffect)
Master compare X
pub const fn extevnt(&self, n: usize) -> Reseteffect
pub const fn extevnt(&self, n: usize) -> Reseteffect
External Event X
pub fn set_extevnt(&mut self, n: usize, val: Reseteffect)
pub fn set_extevnt(&mut self, n: usize, val: Reseteffect)
External Event X
pub const fn tcmp2(&self, n: usize) -> Reseteffect
pub const fn tcmp2(&self, n: usize) -> Reseteffect
Timer X compare 2 event
pub fn set_tcmp2(&mut self, n: usize, val: Reseteffect)
pub fn set_tcmp2(&mut self, n: usize, val: Reseteffect)
Timer X compare 2 event
pub const fn tcmp4(&self, n: usize) -> Reseteffect
pub const fn tcmp4(&self, n: usize) -> Reseteffect
Timer X compare 4 event
pub fn set_tcmp4(&mut self, n: usize, val: Reseteffect)
pub fn set_tcmp4(&mut self, n: usize, val: Reseteffect)
Timer X compare 4 event
Trait Implementations§
impl Copy for Timxrst
impl Eq for Timxrst
impl StructuralPartialEq for Timxrst
Auto Trait Implementations§
impl Freeze for Timxrst
impl RefUnwindSafe for Timxrst
impl Send for Timxrst
impl Sync for Timxrst
impl Unpin for Timxrst
impl UnwindSafe for Timxrst
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
)