BeRTOS
Defines
cfg_timer.h File Reference

Configuration file for timer module. More...

Go to the source code of this file.

Defines

#define CONFIG_TIMER   TIMER_DEFAULT
 Hardware timer selection for drv/timer.c.
#define CONFIG_TIMER_STROBE   0
 Debug timer interrupt using a strobe pin.
#define CONFIG_TIMER_EVENTS   1
 Enable asynchronous timers.
#define CONFIG_TIMER_UDELAY   1
 Support hi-res timer_usleep().

Detailed Description

Configuration file for timer module.

Author:
Daniele Basile <asterix@develer.com>

Definition in file cfg_timer.h.


Define Documentation

#define CONFIG_TIMER_STROBE   0

Debug timer interrupt using a strobe pin.

This is a debug facility that can be used to monitor timer interrupt activity on an external pin.

To use strobes, redefine the macros TIMER_STROBE_ON, TIMER_STROBE_OFF and TIMER_STROBE_INIT and set CONFIG_TIMER_STROBE to 1.