Reference Application File for Interface to 24AA64 EEPROM through the LTC6804-2 Battery Monitor on the DC2100A PCB.
More...
Reference Application File for Interface to 24AA64 EEPROM through the LTC6804-2 Battery Monitor on the DC2100A PCB.
Definition in file EEPROM.c.
|
void | eeprom_write_with_crc (int8 board_num, int8 *data_ptr, int16 address, int16 num_bytes) |
|
BOOLEAN | eeprom_read_with_crc (int8 board_num, int8 *data_ptr, int16 address, int16 num_bytes) |
|
void | eeprom_cap_use_defaults (int8 board_num) |
|
void | eeprom_current_use_defaults (int8 board_num) |
|
void | Eeprom_Init (void) |
| Initializes the EEPROM code module. More...
|
|
BOOLEAN | Eeprom_Reset (int8 board_num, char *reset_key) |
| Resets the EEPROM to blank values. More...
|
|
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 RAM. More...
|
|
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 shadow RAM. More...
|
|
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 EEPROM. More...
|
|
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 into EEPROM. More...
|
|
void | Eeprom_Cap_Load_Defaults (int8 board_num, int8 mfg_key) |
| Loads Linear factory calibrated or nominal capacity values. More...
|
|
void | Eeprom_Current_Load_Defaults (int8 board_num, int8 mfg_key) |
| Loads Linear factory calibrated or nominal balance current values. More...
|
|
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. More...
|
|
void | Eeprom_Current_Save_Defaults (int8 board_num, int8 mfg_key) |
| Resets customer saved balance current values to Linear factory calibrated balance current values, or factory calibrated balance current values to nominal. More...
|
|
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. More...
|
|
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. More...
|
|
|
#define | EEPROM_MFG_DATA_ADDRESS 0 |
|
#define | EEPROM_MFG_DATA_CRC_ADDRESS (EEPROM_MFG_DATA_ADDRESS + sizeof(EEPROM_MFG_DATA_TYPE)) |
|
#define | EEPROM_MFG_DATA_END (EEPROM_MFG_DATA_CRC_ADDRESS + sizeof(int16) - 1) |
|
#define | EEPROM_MFG_CAP_ADDRESS 32 |
|
#define | EEPROM_MFG_CAP_CRC_ADDRESS (EEPROM_MFG_CAP_ADDRESS + sizeof(EEPROM_CAP_TYPE)) |
|
#define | EEPROM_MFG_CAP_END (EEPROM_MFG_CAP_CRC_ADDRESS + sizeof(int16) - 1) |
|
#define | EEPROM_MFG_CURRENT_ADDRESS 80 |
|
#define | EEPROM_MFG_CURRENT_CRC_ADDRESS (EEPROM_MFG_CURRENT_ADDRESS + sizeof(EEPROM_CURRENT_TYPE)) |
|
#define | EEPROM_MFG_CURRENT_END (EEPROM_MFG_CURRENT_CRC_ADDRESS + sizeof(int16) - 1) |
|
#define | EEPROM_USER_CAP_ADDRESS 128 |
|
#define | EEPROM_USER_CAP_CRC_ADDRESS (EEPROM_USER_CAP_ADDRESS + sizeof(EEPROM_CAP_TYPE)) |
|
#define | EEPROM_USER_CAP_END (EEPROM_USER_CAP_CRC_ADDRESS + sizeof(int16) - 1) |
|
#define | EEPROM_USER_CURRENT_ADDRESS 176 |
|
#define | EEPROM_USER_CURRENT_CRC_ADDRESS (EEPROM_USER_CURRENT_ADDRESS + sizeof(EEPROM_CURRENT_TYPE)) |
|
#define | EEPROM_USER_CURRENT_END (EEPROM_USER_CURRENT_CRC_ADDRESS + sizeof(int16) - 1) |
|
#define | eeprom_read(board_num, address, data_ptr, num_bytes) |
|
#define | eeprom_write(board_num, address, data_ptr, num_bytes) |
|