72 char model_num[DC2100A_MODEL_NUM_SIZE];
74 char serial_num[DC2100A_SERIAL_NUM_SIZE];
79 unsigned int16 cap[DC2100A_NUM_CELLS];
87 } current [DC2100A_NUM_CELLS];
93 #define EEPROM_RESET_KEY "EEPROM_RESET"
94 #define EEPROM_RESET_KEY_SIZE (sizeof(EEPROM_RESET_KEY) - 1)
95 #define EEPROM_MFG_KEY 0x86
void Eeprom_Current_Load_Defaults(int8 board_num, int8 mfg_key)
Loads Linear factory calibrated or nominal balance current values.
char cap_demo
True if DC2100A was manufactured into a SuperCap Demo System.
void Eeprom_Cap_Load(int8 board_num, int8 mfg_key)
Loads the customer saved or Linear factory calibrated capacity values from EEPROM into global shadow ...
Structure containing manufacturing data for one DC2100A PCB.
EEPROM_CAP_TYPE Eeprom_cap_values[DC2100A_MAX_BOARDS]
@ EEPROM Shadow RAMShadow RAM for cell data stored in DC2100A EEPROM.
void Eeprom_Cap_Save(int8 board_num, int8 mfg_key)
Saves the customer saved or Linear factory calibrated capacity values from global shadow RAM into EEP...
void Eeprom_Current_Save_Defaults(int8 board_num, int8 mfg_key)
Resets customer saved balance current values to Linear factory calibrated balance current values...
signed int8 charge
charge current calibration factor
void Eeprom_Cap_Save_Defaults(int8 board_num, int8 mfg_key)
Resets customer saved capacity values to Linear factory calibrated capacity values, or factory calibrated capacity values to nominal.
void Eeprom_Init(void)
Initializes the EEPROM code module.
void Eeprom_Cap_Load_Defaults(int8 board_num, int8 mfg_key)
Loads Linear factory calibrated or nominal capacity values.
signed int8 discharge
discharge current calibration factor
Structure containing balance current calibration factors for one DC2100A PCB.
void Eeprom_Mfg_Data_Set(int8 board_num, EEPROM_MFG_DATA_TYPE *mfg_data)
Saves the Manufacturing Board ID Data from global shadow RAM into EEPROM.
BOOLEAN Eeprom_Mfg_Data_Get(int8 board_num, EEPROM_MFG_DATA_TYPE *mfg_data)
Loads the Manufacturing Board ID Data from EEPROM into global shadow RAM.
Structure containing capacity data for one DC2100A PCB.
void Eeprom_Current_Save(int8 board_num, int8 mfg_key)
Saves the customer saved or Linear factory calibrated balance current values from global shadow RAM i...
BOOLEAN Eeprom_Reset(int8 board_num, char *reset_key)
Resets the EEPROM to blank values.
EEPROM_CURRENT_TYPE Eeprom_current_values[DC2100A_MAX_BOARDS]
Copy of balance currents values allows quick balance calculations.
void Eeprom_Current_Load(int8 board_num, int8 mfg_key)
Loads the customer saved or Linear factory calibrated balance current values from EEPROM into global ...