aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/timer.c
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-19 16:51:40 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-19 18:45:46 -0400
commit575cc613f2673d2496642322fabec32dc2b0c21b (patch)
tree2fe7365501496d4f8e0909484571841862c40bc8 /libmaple/timer.c
parent1da733b80248c9d2a319d3ed0af6d743390489ee (diff)
downloadlibrambutan-575cc613f2673d2496642322fabec32dc2b0c21b.tar.gz
librambutan-575cc613f2673d2496642322fabec32dc2b0c21b.zip
timer: Moving some Doxygen comments.
From declaration to definition, to keep with convention.
Diffstat (limited to 'libmaple/timer.c')
-rw-r--r--libmaple/timer.c8
1 files changed, 8 insertions, 0 deletions
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