pub struct HrTimer<'d, T: Instance> { /* private fields */ }Expand description
Low-level HRTIM driver.
Implementations§
Source§impl<'d, T: Instance> HrTimer<'d, T>
impl<'d, T: Instance> HrTimer<'d, T>
Sourcepub fn set_periodic_calibration(&mut self)
pub fn set_periodic_calibration(&mut self)
Enable and set periodic calibration
Sourcepub fn get_clock_frequency(&self) -> Hertz
pub fn get_clock_frequency(&self) -> Hertz
Get the clock frequency of the timer (before prescaler is applied).
Trait Implementations§
Auto Trait Implementations§
impl<'d, T> Freeze for HrTimer<'d, T>where
T: Freeze,
impl<'d, T> RefUnwindSafe for HrTimer<'d, T>where
T: RefUnwindSafe,
impl<'d, T> Send for HrTimer<'d, T>where
T: Send,
impl<'d, T> Sync for HrTimer<'d, T>where
T: Sync,
impl<'d, T> Unpin for HrTimer<'d, T>where
T: Unpin,
impl<'d, T> !UnwindSafe for HrTimer<'d, T>
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> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.