aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chtm.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-14 11:07:04 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-14 11:07:04 +0000
commit1409bd15bd3bfa57c042caaed6d4b755e23ca235 (patch)
treef48570162d8e519978a3f50584f37a159c6fb95e /os/rt/include/chtm.h
parent79a15865134fdc2522db29995bd5417e7b00a0d6 (diff)
downloadChibiOS-1409bd15bd3bfa57c042caaed6d4b755e23ca235.tar.gz
ChibiOS-1409bd15bd3bfa57c042caaed6d4b755e23ca235.tar.bz2
ChibiOS-1409bd15bd3bfa57c042caaed6d4b755e23ca235.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7507 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chtm.h')
-rw-r--r--os/rt/include/chtm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/os/rt/include/chtm.h b/os/rt/include/chtm.h
index 73850aad7..1bcd4b452 100644
--- a/os/rt/include/chtm.h
+++ b/os/rt/include/chtm.h
@@ -52,6 +52,16 @@
/*===========================================================================*/
/**
+ * @brief Type of a time measurement calibration data.
+ */
+typedef struct {
+ /**
+ * @brief Measurement calibration value.
+ */
+ rtcnt_t offset;
+} tm_calibration_t;
+
+/**
* @brief Type of a Time Measurement object.
* @note The maximum measurable time period depends on the implementation
* of the realtime counter and its clock frequency.