From a2708c091beb3331967dff2af9a9232744427de4 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 9 Jan 2012 19:37:58 +0000 Subject: Updated all halconf.h files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3777 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/tm.h | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'os/hal/include') diff --git a/os/hal/include/tm.h b/os/hal/include/tm.h index 23b9255f2..002ed1ac7 100644 --- a/os/hal/include/tm.h +++ b/os/hal/include/tm.h @@ -20,7 +20,7 @@ /** * @file tm.h - * @brief Time Measurement unit header. + * @brief Time Measurement driver header. * * @addtogroup TM * @{ @@ -29,7 +29,23 @@ #ifndef _TM_H_ #define _TM_H_ -#if HAL_USE_TM +#if HAL_USE_TM || defined(__DOXYGEN__) + +/*===========================================================================*/ +/* Driver constants. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Driver pre-compile time settings. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Derived constants and error checks. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Driver data structures and types. */ +/*===========================================================================*/ /** * @brief Type of a Time Measurement object. @@ -56,6 +72,10 @@ struct TimeMeasurement { halrtcnt_t best; /**< @brief Best measurement. */ }; +/*===========================================================================*/ +/* Driver macros. */ +/*===========================================================================*/ + /** * @brief Starts a measurement. * @pre The @p TimeMeasurement must be initialized. @@ -78,6 +98,10 @@ struct TimeMeasurement { */ #define tmStopMeasurement(tmp) (tmp)->stop(tmp) +/*===========================================================================*/ +/* External declarations. */ +/*===========================================================================*/ + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.3