Struct f3::timer::Timer [] [src]

pub struct Timer<'a>(pub &'a Tim7);

Periodic timer

Interrupts

  • Tim7 - update event

Methods

impl<'a> Timer<'a>
[src]

Initializes the timer with a periodic timeout of frequency Hz

NOTE After initialization, the timer will be in the paused state.

Clears the update event flag

Returns Err if no update event has occurred

Resumes the timer count

Pauses the timer

Trait Implementations

impl<'a> Clone for Timer<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for Timer<'a>
[src]