aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/e300/rev_c/error.h
blob: 82a8f0aca40d8c401897a3395a0f7deebe5d3f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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_ */