pub struct Hrtim<'d, T: Instance> {
pub common: Common,
pub master: SubTimer<'d, T, Master>,
pub tima: SubTimer<'d, T, TimA>,
pub timb: SubTimer<'d, T, TimB>,
pub timc: SubTimer<'d, T, TimC>,
pub timd: SubTimer<'d, T, TimD>,
pub time: SubTimer<'d, T, TimE>,
}Expand description
Struct used to divide a high resolution timer into multiple timing units
Fields§
§common: CommonCommon token
Needed when starting/stopping timers etc
master: SubTimer<'d, T, Master>Master timer
tima: SubTimer<'d, T, TimA>Timer A
timb: SubTimer<'d, T, TimB>Timer B
timc: SubTimer<'d, T, TimC>Timer C
timd: SubTimer<'d, T, TimD>Timer D
time: SubTimer<'d, T, TimE>Timer E
Implementations§
Auto Trait Implementations§
impl<'d, T> Forget for Hrtim<'d, T>
impl<'d, T> Freeze for Hrtim<'d, T>
impl<'d, T> Move for Hrtim<'d, T>
impl<'d, T> RefUnwindSafe for Hrtim<'d, T>where
SubTimer<'d, T, Master>: RefUnwindSafe,
SubTimer<'d, T, TimA>: RefUnwindSafe,
SubTimer<'d, T, TimB>: RefUnwindSafe,
SubTimer<'d, T, TimC>: RefUnwindSafe,
SubTimer<'d, T, TimD>: RefUnwindSafe,
SubTimer<'d, T, TimE>: RefUnwindSafe,
impl<'d, T> Send for Hrtim<'d, T>
impl<'d, T> Sync for Hrtim<'d, T>
impl<'d, T> Unpin for Hrtim<'d, T>
impl<'d, T> UnsafeUnpin for Hrtim<'d, T>where
SubTimer<'d, T, Master>: UnsafeUnpin,
SubTimer<'d, T, TimA>: UnsafeUnpin,
SubTimer<'d, T, TimB>: UnsafeUnpin,
SubTimer<'d, T, TimC>: UnsafeUnpin,
SubTimer<'d, T, TimD>: UnsafeUnpin,
SubTimer<'d, T, TimE>: UnsafeUnpin,
impl<'d, T> UnwindSafe for Hrtim<'d, T>where
SubTimer<'d, T, Master>: UnwindSafe,
SubTimer<'d, T, TimA>: UnwindSafe,
SubTimer<'d, T, TimB>: UnwindSafe,
SubTimer<'d, T, TimC>: UnwindSafe,
SubTimer<'d, T, TimD>: UnwindSafe,
SubTimer<'d, T, TimE>: UnwindSafe,
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