pub struct TimerGroup<'d, T>where
T: TimerGroupInstance + 'd,{
pub timer0: Timer<'d>,
pub wdt: Wdt<T>,
/* private fields */
}Expand description
A timer group consisting of a general purpose timer and a watchdog timer.
Fields§
§timer0: Timer<'d>Timer 0
wdt: Wdt<T>Watchdog timer
Implementations§
Source§impl<'d, T> TimerGroup<'d, T>where
T: TimerGroupInstance + 'd,
impl<'d, T> TimerGroup<'d, T>where
T: TimerGroupInstance + 'd,
Sourcepub fn new(_timer_group: T) -> Self
pub fn new(_timer_group: T) -> Self
Construct a new instance of TimerGroup in blocking mode
Auto Trait Implementations§
impl<'d, T> Freeze for TimerGroup<'d, T>
impl<'d, T> !RefUnwindSafe for TimerGroup<'d, T>
impl<'d, T> Send for TimerGroup<'d, T>where
T: Send,
impl<'d, T> !Sync for TimerGroup<'d, T>
impl<'d, T> Unpin for TimerGroup<'d, T>where
T: Unpin,
impl<'d, T> !UnwindSafe for TimerGroup<'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