51 #ifndef LT_3880FaultLog_H_ 52 #define LT_3880FaultLog_H_ 54 #include "../LT_PMBUS/LT_PMBus.h" 55 #include "../LT_PMBUS/LT_PMBusMath.h" 93 struct FaultLogTimeStamp shared_time;
100 struct Lin16WordReverse read_vout_p0;
101 struct Lin16WordReverse read_vout_p1;
103 struct Lin5_11WordReverse read_iout_p0;
104 struct Lin5_11WordReverse read_iout_p1;
106 struct Lin5_11WordReverse read_vin ;
107 struct Lin5_11WordReverse read_iin;
109 struct RawByte status_vout_p0;
110 struct RawByte status_vout_p1;
112 struct RawWordReverse status_word_p0;
113 struct RawWordReverse status_word_p1;
115 struct RawByte status_mfr_specificP0;
116 struct RawByte status_mfr_specificP1;
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 *);
struct Lin5_11WordReverse read_temperature_2
struct Lin16WordReverse mfr_vout_peak_p0
struct Lin5_11WordReverse mfr_iout_peak_p0
class that handles LTC3880 fault logs.
LTC PMBus Support: Implementation for a LTC Controller Fault Log.
struct Lin5_11WordReverse read_temperature_1_p0
uint16_t getBinarySize()
Get size of binary data.
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 mfr_temperature_1_peak_p0
void dumpBinary(Print *printer=0)
Dumps binary of the fault log to a Print inheriting object, or Serial if none specified.
struct Lin5_11WordReverse mfr_iout_peak_p1
void release()
Frees the memory reserved for the fault log.
struct Lin16WordReverse mfr_vout_peak_p1
struct Lin5_11WordReverse mfr_vin_peak
LT_3880FaultLog(LT_PMBus *pmbus)
Constructor.
struct Lin5_11WordReverse mfr_temperature_1_peak_p1
void read(uint8_t address)
Reads the fault log from the specified address, reserves memory to hold the data. ...
uint8_t * getBinary()
Get binary of the fault log or NULL if no log.
struct Lin5_11WordReverse read_temperature_1_p1
FaultLogLtc3880 * faultLog3880