aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-04-06 14:54:47 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:56 -0400
commitd79ea860968318292922509b9e7d0b7c5976713d (patch)
treee041579df684cd41ad34ee696b4bf16331a3bc23 /libmaple
parent9cefeca5c1927c34d64e592bb4ad7ffe7c44822c (diff)
downloadlibrambutan-d79ea860968318292922509b9e7d0b7c5976713d.tar.gz
librambutan-d79ea860968318292922509b9e7d0b7c5976713d.zip
libmaple/timer.h: Minor tweaks.
Comments etc. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/include/libmaple/timer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmaple/include/libmaple/timer.h b/libmaple/include/libmaple/timer.h
index 0a046c9..e98759a 100644
--- a/libmaple/include/libmaple/timer.h
+++ b/libmaple/include/libmaple/timer.h
@@ -77,7 +77,7 @@ typedef struct timer_adv_reg_map {
__io uint32 DMAR; /**< DMA address for full transfer */
} timer_adv_reg_map;
-/* timer_gen_reg_map: intentionally omitted.
+/* General purpose timer register map type: intentionally omitted.
*
* General purpose timers differ slightly across series, so leave it
* up to the series header to define struct timer_gen_reg_map. */
@@ -124,7 +124,7 @@ typedef union timer_reg_map {
typedef enum timer_type {
TIMER_ADVANCED, /**< Advanced type */
TIMER_GENERAL, /**< General purpose type */
- TIMER_BASIC /**< Basic type */
+ TIMER_BASIC, /**< Basic type */
} timer_type;
/** Timer device type */
@@ -609,8 +609,8 @@ void timer_foreach(void (*fn)(timer_dev*));
/**
* @brief Timer interrupt number.
*
- * Not all timers support all of these values; see the descriptions
- * for each value.
+ * Not all timers support all of these values. General purpose timers
+ * can be a special nuisance in this regard.
*/
typedef enum timer_interrupt_id {
TIMER_UPDATE_INTERRUPT, /**< Update interrupt, available on all timers. */