pub struct Timer1 {
_x: (),
}
Fields§
§_x: ()
Trait Implementations§
source§impl Timer for Timer1
impl Timer for Timer1
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 Timer1
impl Send for Timer1
impl Sync for Timer1
impl Unpin for Timer1
impl UnwindSafe for Timer1
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