Enum __attribute__

Enum Documentation

enum __attribute__

Error type definitions.

To add an error type you need to add it to this enum, then you need to create the error reference variable in error_data.h and you need to link the error to the reference in the error_reference array.

Values:

ERROR_CELL_LOW_VOLTAGE
ERROR_CELL_UNDER_VOLTAGE
ERROR_CELL_OVER_VOLTAGE
ERROR_CELL_OVER_TEMPERATURE
ERROR_CELL_HIGH_TEMPERATURE
ERROR_OVER_CURRENT
ERROR_CAN
ERROR_ADC_INIT
ERROR_ADC_TIMEOUT
ERROR_INT_VOLTAGE_MISMATCH
ERROR_CELLBOARD_COMM
ERROR_CELLBOARD_INTERNAL
ERROR_FEEDBACK
ERROR_EEPROM_COMM
ERROR_EEPROM_WRITE
ERROR_NUM_ERRORS
SOFT = UINT32_MAX
SHORT = 500
REGULAR = 1000
INSTANT = 0
STATE_WARNING
STATE_FATAL