timer.h File Reference
The timer module provides an event interface to the hardware timers. More...
Go to the source code of this file.
The timer module provides an event interface to the hardware timers.
- $Rev: 2783 $
The module uses the 16-bit timer 1
of the ATmega32. The timer is dynamically configured as needed by the registered alarms and should always be clocked as slow as possible to keep the interrupt load low. When no alarms are registered, the timer clock is disabled.
- The timer module uses dynamic memory management (malloc/free) for the allocation of the ALARM types.
Interrupts must be enabled for the timer to work.