Go to the source code of this file.
◆ check_health()
bool check_health |
( |
uint8_t |
address | ) |
|
◆ check_nvm_data_checksum()
bool check_nvm_data_checksum |
( |
uint8_t |
address | ) |
|
◆ clear_fault_logs()
static void clear_fault_logs |
( |
| ) |
|
|
static |
◆ clear_faults_global()
static void clear_faults_global |
( |
void |
| ) |
|
|
static |
◆ erase()
static void erase |
( |
uint8_t |
address, |
|
|
uint16_t ** |
data |
|
) |
| |
|
static |
◆ increment_counter()
static void increment_counter |
( |
uint8_t |
address | ) |
|
|
static |
◆ is_ltc2977()
bool is_ltc2977 |
( |
uint8_t |
address | ) |
|
◆ is_ltc2978()
bool is_ltc2978 |
( |
uint8_t |
address | ) |
|
◆ is_ltc297x()
bool is_ltc297x |
( |
uint8_t |
address | ) |
|
◆ lock_nvm()
static void lock_nvm |
( |
uint8_t |
address | ) |
|
|
static |
◆ loop()
static void loop |
( |
void |
| ) |
|
|
static |
◆ nvm_lock_reset()
static void nvm_lock_reset |
( |
uint8_t |
address | ) |
|
|
static |
◆ print_all_status()
static void print_all_status |
( |
| ) |
|
|
static |
Print all status bytes and words.
- Returns
- void
Definition at line 634 of file retention.ino.
◆ print_counter()
static void print_counter |
( |
uint8_t |
address | ) |
|
|
static |
◆ print_prompt()
static void print_prompt |
( |
| ) |
|
|
static |
◆ print_title()
static void print_title |
( |
void |
| ) |
|
|
static |
Prints the title block when program first starts.
Definition at line 910 of file retention.ino.
◆ read_bytes()
static void read_bytes |
( |
uint8_t |
address, |
|
|
uint16_t ** |
data, |
|
|
uint16_t * |
count |
|
) |
| |
|
static |
◆ readItemp()
static float readItemp |
( |
uint8_t |
address | ) |
|
|
static |
◆ readItemp2977_8()
static float readItemp2977_8 |
( |
uint8_t |
address | ) |
|
|
static |
◆ restore()
◆ setup()
static void setup |
( |
void |
| ) |
|
|
static |
◆ store()
◆ store_fault_logs()
static void store_fault_logs |
( |
| ) |
|
|
static |
◆ unlock_nvm()
static void unlock_nvm |
( |
uint8_t |
address | ) |
|
|
static |
◆ wait_for_ack()
static uint8_t wait_for_ack |
( |
uint8_t |
address, |
|
|
uint8_t |
command |
|
) |
| |
|
static |
◆ wait_for_not_busy()
static uint8_t wait_for_not_busy |
( |
uint8_t |
address | ) |
|
|
static |
◆ wait_for_nvm_done()
static uint8_t wait_for_nvm_done |
( |
uint8_t |
address | ) |
|
|
static |
◆ wait_for_ready()
static void wait_for_ready |
( |
uint8_t |
address | ) |
|
|
static |
◆ write_bytes()
static void write_bytes |
( |
uint8_t |
address, |
|
|
uint16_t ** |
data, |
|
|
uint16_t * |
count |
|
) |
| |
|
static |
◆ BUSY
◆ CLEAR_FAULTS
#define CLEAR_FAULTS 0x03 |
◆ CML
◆ LTC2974_I2C_ADDRESS
#define LTC2974_I2C_ADDRESS 0x32 |
◆ LTC2977_8_I2C_ADDRESS
#define LTC2977_8_I2C_ADDRESS 0x33 |
◆ LTC3880_I2C_ADDRESS
#define LTC3880_I2C_ADDRESS 0x30 |
◆ MFR_COMMON
◆ MFR_EE_DATA
◆ MFR_EE_ERASE
#define MFR_EE_ERASE 0xBE |
◆ MFR_EE_UNLOCK
#define MFR_EE_UNLOCK 0xBD |
◆ MFR_EEPROM_STATUS
#define MFR_EEPROM_STATUS 0xF1 |
◆ MFR_FAULT_LOG_CLEAR
#define MFR_FAULT_LOG_CLEAR 0xEC |
◆ MFR_FAULT_LOG_RESTORE
#define MFR_FAULT_LOG_RESTORE 0xEB |
◆ MFR_FAULT_LOG_STORE
#define MFR_FAULT_LOG_STORE 0xEA |
◆ MFR_PAGE_FF_MASK
#define MFR_PAGE_FF_MASK 0xE4 |
◆ MFR_RESET
◆ MFR_SPARE_0
◆ MFR_SPECIAL_ID
#define MFR_SPECIAL_ID 0xE7 |
◆ NOT_BUSY
◆ NOT_PENDING
#define NOT_PENDING 1 << 5 |
◆ NOT_TRANS
◆ PAGE
◆ READ_ITEMP
◆ READ_ITEMP_2977_8
#define READ_ITEMP_2977_8 0x8D |
◆ RESERVED2
◆ RESTORE_USER_ALL
#define RESTORE_USER_ALL 0x16 |
◆ STATUS_BYTE
◆ STATUS_CML
◆ STATUS_CML_CMD_FAULT
#define STATUS_CML_CMD_FAULT 0x80 |
◆ STATUS_CML_DATA_FAULT
#define STATUS_CML_DATA_FAULT 0x40 |
◆ STATUS_CML_MEM_FAULT
#define STATUS_CML_MEM_FAULT 0x10 |
◆ STATUS_CML_PEC_FAULT
#define STATUS_CML_PEC_FAULT 0x20 |
◆ STATUS_CML_PMBUS_FAULT
#define STATUS_CML_PMBUS_FAULT 0x02 |
◆ STATUS_CML_PROC_FAULT
#define STATUS_CML_PROC_FAULT 0x04 |
◆ STATUS_CML_UNKNOWN_FAULT
#define STATUS_CML_UNKNOWN_FAULT 0x01 |
◆ STATUS_MFR_SPECIFIC
#define STATUS_MFR_SPECIFIC 0x80 |
◆ STATUS_MFR_SPECIFIC_NVM_CRC
#define STATUS_MFR_SPECIFIC_NVM_CRC 0x20 |
◆ STATUS_WORD
◆ STATUS_WORD_POWER_GOOD_B
#define STATUS_WORD_POWER_GOOD_B 0x0800 |
◆ STORE_USER_ALL
#define STORE_USER_ALL 0x15 |
◆ USE_PEND
◆ USER_DATA_04
#define USER_DATA_04 0xB4 |
◆ ltc2974data
◆ ltc2974dataCount
uint16_t ltc2974dataCount |
|
static |
◆ ltc2977data
◆ ltc2977dataCount
uint16_t ltc2977dataCount |
|
static |
◆ ltc3880data
◆ ltc3880dataCount
uint16_t ltc3880dataCount |
|
static |
◆ smbus