From: duplo Date: Mon, 16 Feb 2009 14:05:12 +0000 (+0000) Subject: Add the timer enum X-Git-Tag: 2.1.0~333 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=720b15af51d68f0c0dfd328437d10de20769c5ae;p=bertos.git Add the timer enum git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2349 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/drv/timer_avr.h b/bertos/cpu/avr/drv/timer_avr.h index d306cd8a..1eccd0ef 100644 --- a/bertos/cpu/avr/drv/timer_avr.h +++ b/bertos/cpu/avr/drv/timer_avr.h @@ -55,8 +55,7 @@ * * Select which hardware timer interrupt to use for system clock and softtimers. * \note The timer 1 overflow mode set the timer as a 24 kHz PWM. - * - * \{ + * $WIZ$ timer_select = "TIMER_ON_OUTPUT_COMPARE0", "TIMER_ON_OVERFLOW1", "TIMER_ON_OUTPUT_COMPARE2", "TIMER_ON_OVERFLOW3", "TIMER_DEFAULT" */ #define TIMER_ON_OUTPUT_COMPARE0 1 #define TIMER_ON_OVERFLOW1 2 @@ -64,7 +63,6 @@ #define TIMER_ON_OVERFLOW3 4 #define TIMER_DEFAULT TIMER_ON_OUTPUT_COMPARE0 ///< Default system timer -/* \} */ /* * Hardware dependent timer initialization.