Skip to main content

Module timer_interrupts

Module timer_interrupts 

Source

Structs§

Slot
A slot in the timer list. Each source is represented once. This is so that we can have multiple timers at the same time with only one hardware timer.
TimerList

Enums§

Source
A possible timer interrupt source (i.e. reason the timer interrupt was set up).

Functions§

clear_active_and_set_next
Clears the timer slot for the currently active timer and sets the next timer or disables it if no timer is pending.
create_timernet
Create a new timer, overriding any previous timer for the source.
create_timer_abs
Crete a new timer, but with an absolute wakeup time.