pub struct PitFreq<const R: u16>;
Expand description
Frequency of the PIT timer
Parameter R
is the PIT’s reload value for channel 0.
Internal oscillator frequency is a rational, non-integer number. This means there is some loss of precision because Tock uses integers to represent frequency.
Trait Implementations§
Auto Trait Implementations§
impl<const R: u16> Freeze for PitFreq<R>
impl<const R: u16> RefUnwindSafe for PitFreq<R>
impl<const R: u16> Send for PitFreq<R>
impl<const R: u16> Sync for PitFreq<R>
impl<const R: u16> Unpin for PitFreq<R>
impl<const R: u16> UnwindSafe for PitFreq<R>
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