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