51 #ifndef LT_3887FaultLog_H_ 52 #define LT_3887FaultLog_H_ 54 #include "../LT_PMBUS/LT_PMBus.h" 55 #include "../LT_PMBUS/LT_PMBusMath.h" 93 struct FaultLogTimeStamp shared_time;
137 void print(Print *printer = 0
167 void printTitle(Print *);
168 void printTime(Print *);
169 void printPeaks(Print *);
170 void printAllLoops(Print *);
171 void printLoop(uint8_t
index, Print *);
class that handles LTC3887 fault logs.
uint8_t * getBinary()
Get binary of the fault log or NULL if no log.
LTC PMBus Support: Implementation for a LTC Controller Fault Log.
struct Lin5_11WordReverse read_temperature_1_p1
void release()
Frees the memory reserved for the fault log.
struct Lin5_11WordReverse read_temperature_1_p0
void print(Print *printer=0)
Pretty prints this part's fault log to a Print inheriting object, or Serial if none specified...
struct Lin5_11WordReverse read_temperature_2
struct Lin16WordReverse mfr_vout_peak_p1
LT_3887FaultLog(LT_PMBus *pmbus)
Constructor.
void read(uint8_t address)
Reads the fault log from the specified address, reserves memory to hold the data. ...
struct Lin5_11WordReverse mfr_iout_peak_p0
uint16_t getBinarySize()
Get size of binary data.
struct Lin5_11WordReverse mfr_iout_peak_p1
struct Lin5_11WordReverse mfr_vin_peak
FaultLogLtc3887 * faultLog3887
struct Lin16WordReverse mfr_vout_peak_p0
void dumpBinary(Print *printer=0)
Dumps binary of the fault log to a Print inheriting object, or Serial if none specified.