pub struct TimerGroup<T>where
T: TimerGroupInstance,{
pub timer0: Timer,
pub timer1: Timer,
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: TimerTimer 0
timer1: TimerTimer 1
wdt: Wdt<T>Watchdog timer
Implementations§
Source§impl<T> TimerGroup<T>where
T: TimerGroupInstance,
impl<T> TimerGroup<T>where
T: TimerGroupInstance,
Sourcepub fn new(_timer_group: T) -> Self
pub fn new(_timer_group: T) -> Self
Construct a new instance of TimerGroup in blocking mode