timer.h File Reference
The timer module provides an event interface to the hardware timers.
More...
#include <stdint.h>
Go to the source code of this file.
Detailed Description
The timer module provides an event interface to the hardware timers.
- Version:
- $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.
- Note:
- 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.