Module timer

Source
Expand description

§Timers

Abstractions of the internal timer peripherals The timer modules implements the CountDown and Periodic traits.

§Examples

Check out examples/adc.rs, where a Periodic timer is used to wake up the main-loop regularly.

Structs§

AlreadyCancled
Error if a Cancel-ble Timer was cancled already or never been started.
Instant
A measurement of a monotonically nondecreasing clock
MonoTimer
A monotonic nondecreasing timer.
Timer
Hardware timers

Enums§

Event
Interrupt events

Traits§

CommonRegisterBlock
Common functionalities of all timer RegisterBlock types based on crate::pac::tim6::RegisterBlock.
Instance
Associated clocks with timers