pub struct Timer0 {
_x: (),
}
Fields§
§_x: ()
Trait Implementations§
source§impl Timer for Timer0
impl Timer for Timer0
fn set_source(&mut self, variant: TimerSource)
fn set_prescaler(&mut self, variant: TimerPrescaler)
fn set_mode(&mut self, variant: TimerMode)
fn stop(&mut self)
fn start_counter(&mut self, interval: u32)
fn current_value(&self) -> u32
fn get_and_clear_interrupt(&self) -> bool
fn set_interrupt_en(&self, enabled: bool)
Auto Trait Implementations§
impl RefUnwindSafe for Timer0
impl Send for Timer0
impl Sync for Timer0
impl Unpin for Timer0
impl UnwindSafe for Timer0
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