summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/chrono.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/chrono.h')
-rw-r--r--digital/io/src/chrono.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/digital/io/src/chrono.h b/digital/io/src/chrono.h
index 5e1a378c..e2b09ac8 100644
--- a/digital/io/src/chrono.h
+++ b/digital/io/src/chrono.h
@@ -50,6 +50,26 @@ void
chrono_update (void);
/**
+ * Enable chrono module.
+ * You should call this function when a match start.
+ */
+void
+chrono_enable (void);
+
+/**
+ * Disable chrono module.
+ */
+void
+chrono_disable (void);
+
+/**
+ * Is chrono module enabled?
+ * @return 0 if not enabled, other values otherwise.
+ */
+uint8_t
+chrono_enabled (void);
+
+/**
* Match over?
* @return
* - 0 if the match is not finished yet.