Module timer

Source
Expand description

Working with timer counter hardware

Structs§

InterruptHandler
Interrupt handler for async timer operarions
TimerCounter
A generic hardware timer counter.
TimerFuture
Wrapper around a TimerCounter with an async interface

Traits§

AsyncCount16
Trait enabling the use of a Timer/Counter in async mode. Specifically, this trait enables us to register a TC* interrupt as a waker for timer futures.
Count16
This is a helper trait to make it easier to make most of the TimerCounter impl generic. It doesn’t make too much sense to to try to implement this trait outside of this module.

Type Aliases§

TimerCounter1