summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/inc/hlut.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/hal/phy/inc/hlut.h')
-rw-r--r--cesar/hal/phy/inc/hlut.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/cesar/hal/phy/inc/hlut.h b/cesar/hal/phy/inc/hlut.h
new file mode 100644
index 0000000000..3981960166
--- /dev/null
+++ b/cesar/hal/phy/inc/hlut.h
@@ -0,0 +1,48 @@
+#ifndef phy_inc_hlut_h
+#define phy_inc_hlut_h
+/* Cesar project {{{
+ *
+ * Copyright (C) 2012 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file hal/phy/inc/hlut.h
+ * \brief Table parameters and registers for HLUT.
+ * \ingroup hal_phy
+ *
+ * This values are only useful on MSE500. This table should not change
+ * between boards.
+ * Only three parameters may change between boards:
+ * - span
+ * - offset
+ * - threshold
+ *
+ * For now those three parameters should be updated by the internal.conf file.
+ */
+
+/** Default value for the HLUT span. */
+#define PHY_HLUT_SPAN_DEFAULT 0
+/** Default value for the HLUT threshold. */
+#define PHY_HLUT_THRESHOLD_DEFAULT 0
+/** Default value for the HLUT offset. */
+#define PHY_HLUT_OFFSET_DEFAULT 0
+
+BEGIN_DECLS
+
+/**
+ * Initialise the HLUT.
+ */
+void
+phy_hlut_init (void);
+
+/**
+ * Set the tunable parameters in the registers.
+ */
+void
+phy_hlut_set_tunable (void);
+
+END_DECLS
+
+#endif /* phy_inc_hlut_h */