aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chtm.h
diff options
context:
space:
mode:
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.