51 #ifndef LT_2978FaultLog_H_ 52 #define LT_2978FaultLog_H_ 54 #include "../LT_PMBUS/LT_PMBus.h" 55 #include "../LT_PMBUS/LT_PMBusMath.h" 83 struct RawByte status_temp;
84 struct Lin5_11WordReverse read_temp1;
96 struct RawByte status_vin;
97 struct Lin5_11WordReverse vin;
110 struct Lin5_11Word peak;
111 struct Lin5_11Word min;
133 struct FaultLogTimeStamp shared_time;
144 struct RawByte reserved;
148 struct RawByte reserved2;
158 uint8_t telemetryData[208];
163 bool isValidData(
void *
pos, uint8_t size = 2);
177 void print(Print *printer = 0
209 void printTitle(Print *);
210 void printTime(Print *);
211 void printPeaks(Print *);
212 void printFastChannel(uint8_t
index, Print *);
213 void printAllLoops(Print *);
214 void printLoop(uint8_t index, Print *);
215 void printLoopChannel(uint8_t index, Print *);
struct Lin16WordReverse read_vout
class that handles LTC2978 fault logs.
void read(uint8_t address)
Reads the fault log from the specified address, reserves memory to hold the data. ...
LTC PMBus Support: Implementation for a LTC Controller Fault Log.
struct RawByte status_mfr
void dumpBinary(Print *printer=0)
Dumps binary of the fault log to a Print inheriting object, or Serial if none specified.
void print(Print *printer=0)
Pretty prints this part's fault log to a Print inheriting object, or Serial if none specified...
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_2978FaultLog(LT_PMBus *pmbus)
Constructor.
struct RawByte status_vout
struct FaultLogReadLoopLtc2978 * loops
FaultLogLtc2978 * faultLog2978
uint16_t getBinarySize()
Get size of binary data.