aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/e300/rev_c/error.h
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2014-10-07 11:32:14 +0200
committerMartin Braun <martin.braun@ettus.com>2014-10-07 12:09:33 +0200
commit1b149f561370687ad65e3aa644a402f00dbd16ea (patch)
treeab86042840fa1369d64bca56c5f3a64d1a4f1f72 /firmware/e300/rev_c/error.h
parentfd3e84941de463fa1a7ebab0a69515b4bf2614cd (diff)
downloaduhd-1b149f561370687ad65e3aa644a402f00dbd16ea.tar.gz
uhd-1b149f561370687ad65e3aa644a402f00dbd16ea.tar.bz2
uhd-1b149f561370687ad65e3aa644a402f00dbd16ea.zip
Initial commit E300 support.
Diffstat (limited to 'firmware/e300/rev_c/error.h')
-rw-r--r--firmware/e300/rev_c/error.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/firmware/e300/rev_c/error.h b/firmware/e300/rev_c/error.h
new file mode 100644
index 000000000..82a8f0aca
--- /dev/null
+++ b/firmware/e300/rev_c/error.h
@@ -0,0 +1,31 @@
+/*
+ * error.h
+ *
+ * Created: 4/09/2012 6:25:53 PM
+ * Author: Balint Seeber
+ */
+
+
+#ifndef ERROR_H_
+#define ERROR_H_
+
+enum ErrorBlinkCount // Lower number = higher priority
+{
+ BlinkError_None,
+ // Low power/battery
+ BlinkError_LowVoltage,
+ BlinkError_LTC3675_UnderVoltage = BlinkError_LowVoltage,
+ BlinkError_LTC4155_UnderVoltage = BlinkError_LowVoltage, // FIXME: This does not work when checking status
+ // Should match power boot steps
+ BlinkError_FPGA_Power,
+ BlinkError_DRAM_Power,
+ BlinkError_1_8V_Peripherals_Power,
+ BlinkError_3_3V_Peripherals_Power,
+ BlinkError_TX_Power,
+ // LTC3675
+ BlinkError_LTC3675_OverTemperature,
+ // LTC4155
+ BlinkError_LTC4155_BadCell
+};
+
+#endif /* ERROR_H_ */