aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 05:21:37 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-07 19:15:05 -0400
commit441abdc26d8e9fe78836f0a36f87c36a279527f0 (patch)
tree458656a8032ac5dbae39b2b8bde63fcc05ad9f71
parentf32c912c4037fda34c4e6a9905b28f2e7fbe1c6f (diff)
downloadlibrambutan-441abdc26d8e9fe78836f0a36f87c36a279527f0.tar.gz
librambutan-441abdc26d8e9fe78836f0a36f87c36a279527f0.zip
struct timer_dev: Don't touch ->handlers!
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/include/libmaple/timer.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libmaple/include/libmaple/timer.h b/libmaple/include/libmaple/timer.h
index e8f3708..c33e8a7 100644
--- a/libmaple/include/libmaple/timer.h
+++ b/libmaple/include/libmaple/timer.h
@@ -127,9 +127,7 @@ typedef struct timer_dev {
rcc_clk_id clk_id; /**< RCC clock information */
timer_type type; /**< Timer's type */
voidFuncPtr handlers[]; /**<
- * @brief User IRQ handlers
- * It's not a good idea to touch these
- * directly.
+ * Don't touch these. Use these instead:
* @see timer_attach_interrupt()
* @see timer_detach_interrupt() */
} timer_dev;