aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-09 19:37:58 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-09 19:37:58 +0000
commita2708c091beb3331967dff2af9a9232744427de4 (patch)
treeb6b7e640ea6ac6876c291f9c09acdac3fc26847d /os/hal/include
parent3de75ec6c3c29edde55edfa75f2db26c198de35a (diff)
downloadChibiOS-a2708c091beb3331967dff2af9a9232744427de4.tar.gz
ChibiOS-a2708c091beb3331967dff2af9a9232744427de4.tar.bz2
ChibiOS-a2708c091beb3331967dff2af9a9232744427de4.zip
Updated all halconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3777 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/tm.h28
1 files changed, 26 insertions, 2 deletions
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