51 #ifndef LT_2975FaultLog_H_ 52 #define LT_2975FaultLog_H_ 54 #include "../LT_PMBUS/LT_PMBus.h" 55 #include "../LT_PMBUS/LT_PMBusMath.h" 91 struct Lin5_11WordReverse read_iout;
104 struct RawByte status_temp;
105 struct Lin5_11WordReverse read_temp1;
124 struct Lin5_11WordReverse read_iin;
184 struct FaultLogTimeStamp shared_time;
208 struct RawByte reserved;
224 uint8_t telemetryData[176];
229 bool isValidData(
void *
pos, uint8_t size = 2);
243 void print(Print *printer = 0
281 void printTitle(Print *);
282 void printTime(Print *);
283 void printPeaks(Print *);
284 void printFastChannel(uint8_t
index, Print *);
285 void printAllLoops(Print *);
286 void printLoop(uint8_t index, Print *);
287 void printLoopChannel(uint8_t index, Print *);
class that handles LTC2975 fault logs.
uint16_t getBinarySize()
Get size of binary data.
FaultLogLtc2975 * faultLog2975
void release()
Frees the memory reserved for the fault log.
uint8_t * getBinary()
Get binary of the fault log or NULL if no log.
LT_2975FaultLog(LT_PMBus *pmbus)
Constructor.
void dumpBinary(Print *printer=0)
Dumps binary of the fault log to a Print inheriting object, or Serial if none specified.
struct RawByte status_mfr_specific
void read(uint8_t address)
Reads the fault log from the specified address, reserves memory to hold the data. ...
void print(Print *printer=0)
Pretty prints this part's fault log to a Print inheriting object, or Serial if none specified...
struct RawByte status_vout
struct FaultLogReadLoopLtc2975 * loops
LTC PMBus Support: Implementation for a LTC Controller Fault Log.
struct RawByte status_iout