X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_timer.h;h=7ed1955809a2805c748197a2e788b5f73bd2e5a6;hb=702bedb30a235a64f61f1d06653f8b22e39b5c5f;hp=9333e6e3a431b782418a7fa4360d2f415d76995b;hpb=e0960b1b787503b712e42776f980d792836992fd;p=bertos.git diff --git a/bertos/cfg/cfg_timer.h b/bertos/cfg/cfg_timer.h index 9333e6e3..7ed19558 100644 --- a/bertos/cfg/cfg_timer.h +++ b/bertos/cfg/cfg_timer.h @@ -40,10 +40,21 @@ #ifndef CFG_TIMER_H #define CFG_TIMER_H -/// Hardware timer selection for drv/timer.c +/** + * + * $WIZARD_LIST = { "timer_select" : ["TIMER_DEFAULT"] } + */ + +/// Hardware timer selection for drv/timer.c. $WIZARD = { "type" : "enum", "value_list" : "timer_select" } #define CONFIG_TIMER TIMER_DEFAULT -/// Debug timer interrupt using a strobe pin. +/// Debug timer interrupt using a strobe pin. $WIZARD = { "type" : "boolean" } #define CONFIG_TIMER_STROBE 0 +/// Enable asynchronous timers. $WIZARD = { "type" : "boolean" } +#define CONFIG_TIMER_EVENTS 1 + +/// Support hi-res timer_usleep(). $WIZARD = { "type" : "boolean" } +#define CONFIG_TIMER_UDELAY 1 + #endif /* CFG_TIMER_H */