pub struct Timer<'a, S: TimerSpeed> { /* private fields */ }Expand description
Timer struct
Implementations§
Source§impl<'a, S: TimerSpeed> Timer<'a, S>
impl<'a, S: TimerSpeed> Timer<'a, S>
Sourcepub fn new(ledc: &'a RegisterBlock, number: Number) -> Self
pub fn new(ledc: &'a RegisterBlock, number: Number) -> Self
Create a new instance of a timer
Trait Implementations§
Source§impl TimerHW<LowSpeed> for Timer<'_, LowSpeed>
Available on crate feature unstable only.Timer HW implementation for LowSpeed timers
impl TimerHW<LowSpeed> for Timer<'_, LowSpeed>
Available on crate feature
unstable only.Timer HW implementation for LowSpeed timers
Source§impl<'a, S: TimerSpeed> TimerIFace<S> for Timer<'a, S>
Available on crate feature unstable only.
impl<'a, S: TimerSpeed> TimerIFace<S> for Timer<'a, S>
Available on crate feature
unstable only.Auto Trait Implementations§
impl<'a, S> Freeze for Timer<'a, S>
impl<'a, S> !RefUnwindSafe for Timer<'a, S>
impl<'a, S> !Send for Timer<'a, S>
impl<'a, S> !Sync for Timer<'a, S>
impl<'a, S> Unpin for Timer<'a, S>
impl<'a, S> !UnwindSafe for Timer<'a, S>
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