From 575cc613f2673d2496642322fabec32dc2b0c21b Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 19 May 2011 16:51:40 -0400 Subject: timer: Moving some Doxygen comments. From declaration to definition, to keep with convention. --- libmaple/timer.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libmaple/timer.c') diff --git a/libmaple/timer.c b/libmaple/timer.c index b22ffb4..811e407 100644 --- a/libmaple/timer.c +++ b/libmaple/timer.c @@ -50,6 +50,7 @@ static timer_dev timer1 = { .type = TIMER_ADVANCED, .handlers = { [NR_ADV_HANDLERS - 1] = 0 }, }; +/** Timer 1 device (advanced) */ timer_dev *TIMER1 = &timer1; static timer_dev timer2 = { @@ -58,6 +59,7 @@ static timer_dev timer2 = { .type = TIMER_GENERAL, .handlers = { [NR_GEN_HANDLERS - 1] = 0 }, }; +/** Timer 2 device (general-purpose) */ timer_dev *TIMER2 = &timer2; static timer_dev timer3 = { @@ -66,6 +68,7 @@ static timer_dev timer3 = { .type = TIMER_GENERAL, .handlers = { [NR_GEN_HANDLERS - 1] = 0 }, }; +/** Timer 3 device (general-purpose) */ timer_dev *TIMER3 = &timer3; static timer_dev timer4 = { @@ -74,6 +77,7 @@ static timer_dev timer4 = { .type = TIMER_GENERAL, .handlers = { [NR_GEN_HANDLERS - 1] = 0 }, }; +/** Timer 4 device (general-purpose) */ timer_dev *TIMER4 = &timer4; #ifdef STM32_HIGH_DENSITY @@ -83,6 +87,7 @@ static timer_dev timer5 = { .type = TIMER_GENERAL, .handlers = { [NR_GEN_HANDLERS - 1] = 0 }, }; +/** Timer 5 device (general-purpose) */ timer_dev *TIMER5 = &timer5; static timer_dev timer6 = { @@ -91,6 +96,7 @@ static timer_dev timer6 = { .type = TIMER_BASIC, .handlers = { [NR_BAS_HANDLERS - 1] = 0 }, }; +/** Timer 6 device (basic) */ timer_dev *TIMER6 = &timer6; static timer_dev timer7 = { @@ -99,6 +105,7 @@ static timer_dev timer7 = { .type = TIMER_BASIC, .handlers = { [NR_BAS_HANDLERS - 1] = 0 }, }; +/** Timer 7 device (basic) */ timer_dev *TIMER7 = &timer7; static timer_dev timer8 = { @@ -107,6 +114,7 @@ static timer_dev timer8 = { .type = TIMER_ADVANCED, .handlers = { [NR_ADV_HANDLERS - 1] = 0 }, }; +/** Timer 8 device (advanced) */ timer_dev *TIMER8 = &timer8; #endif -- cgit v1.2.3