pub struct TimerGroup<'d, T>where
T: TimerGroupInstance + 'd,{
pub timer0: Timer<'d>,
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<'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