X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fat91sam7x-ek%2Fbenchmark%2Fat91sam7x-ek_kernel_footprint%2Fcfg%2Fcfg_timer.h;fp=boards%2Fat91sam7x-ek%2Fbenchmark%2Fat91sam7x-ek_kernel_footprint%2Fcfg%2Fcfg_timer.h;h=b6d43b38b6d3295299aca5e5009f1cbe65f90535;hb=45a5ed5a6f4ccb4cf34e54b92eccb486436bc469;hp=0000000000000000000000000000000000000000;hpb=fbc4cfcfaf7efe9e326807a90b892e5c2836feef;p=bertos.git diff --git a/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/cfg/cfg_timer.h b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/cfg/cfg_timer.h new file mode 100644 index 00000000..b6d43b38 --- /dev/null +++ b/boards/at91sam7x-ek/benchmark/at91sam7x-ek_kernel_footprint/cfg/cfg_timer.h @@ -0,0 +1,67 @@ +/** + * \file + * + * + * \brief Configuration file for timer module. + * + * + * \author Daniele Basile + */ + +#ifndef CFG_TIMER_H +#define CFG_TIMER_H + +/** + * Hardware timer selection for drv/timer.c. + * $WIZ$ type = "enum" + * $WIZ$ value_list = "timer_select" + */ +#define CONFIG_TIMER TIMER_DEFAULT + +/** + * Debug timer interrupt using a strobe pin. + * $WIZ$ type = "boolean" + */ +#define CONFIG_TIMER_STROBE 0 + +/** + * Enable asynchronous timers. + * $WIZ$ type = "boolean" + */ +#define CONFIG_TIMER_EVENTS 1 + +/** + * Support hi-res timer_usleep(). + * $WIZ$ type = "boolean" + */ +#define CONFIG_TIMER_UDELAY 1 + +#endif /* CFG_TIMER_H */