pub struct TimerGroup<'d, T>where
T: TimerGroupInstance + 'd,{
pub timer0: Timer<'d>,
pub timer1: Timer<'d>,
pub wdt: Wdt<T>,
/* private fields */
}Available on crate feature
unstable only.Expand description
A timer group consisting of 2 timers and a watchdog timer.
Fields§
§timer0: Timer<'d>Timer 0
timer1: Timer<'d>Timer 1
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