summaryrefslogtreecommitdiff
path: root/cesar/hal/leon/maximus/inc/maximus_timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/hal/leon/maximus/inc/maximus_timer.h')
-rw-r--r--cesar/hal/leon/maximus/inc/maximus_timer.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/cesar/hal/leon/maximus/inc/maximus_timer.h b/cesar/hal/leon/maximus/inc/maximus_timer.h
new file mode 100644
index 0000000000..21c51f7637
--- /dev/null
+++ b/cesar/hal/leon/maximus/inc/maximus_timer.h
@@ -0,0 +1,24 @@
+#ifndef hal_leon_maximus_inc_maximus_timer_h
+#define hal_leon_maximus_inc_maximus_timer_h
+/* Cesar project {{{
+ *
+ * Copyright (C) 2007 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file hal/leon/maximus/inc/maximus_timer.h
+ * \brief Hardware Abstact Layer for the Leon timer 2 for Maximus.
+ * \ingroup hal_leon_maximus
+ */
+
+/**
+ * Maximus leon timer program callback called when the corresponding netclock message is received.
+ * \param data pointer to 'leon_timer_t' structure.
+ * set errno to:
+ * - EINVAL if data or ctx->cb are null
+ */
+void maximus_leon_timer_cb (void *data);
+
+#endif /* hal_leon_maximus_inc_maximus_timer_h */