Struct esp32c2_hal::timer::TimerGroup
source · pub struct TimerGroup<'d, T>where
T: TimerGroupInstance,{
pub timer0: Timer<Timer0<T>>,
pub wdt: Wdt<T>,
/* private fields */
}
Fields§
§timer0: Timer<Timer0<T>>
§wdt: Wdt<T>
Implementations§
source§impl<'d, T> TimerGroup<'d, T>where
T: TimerGroupInstance,
impl<'d, T> TimerGroup<'d, T>where T: TimerGroupInstance,
pub fn new( timer_group: impl Peripheral<P = T> + 'd, clocks: &Clocks<'_> ) -> TimerGroup<'d, T>
Auto Trait Implementations§
impl<'d, T> RefUnwindSafe for TimerGroup<'d, T>where T: RefUnwindSafe,
impl<'d, T> Send for TimerGroup<'d, T>where T: Send,
impl<'d, T> Sync for TimerGroup<'d, T>where T: Sync,
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