51 #ifndef LT_2974FaultLog_H_ 52 #define LT_2974FaultLog_H_ 54 #include "../LT_PMBUS/LT_PMBus.h" 55 #include "../LT_PMBUS/LT_PMBusMath.h" 83 struct RawByte status_mfr;
85 struct Lin16WordReverse read_vout;
91 struct Lin5_11WordReverse read_iout;
104 struct RawByte status_temp;
105 struct Lin5_11WordReverse read_temp1;
124 struct Lin16Word peak;
170 struct FaultLogTimeStamp shared_time;
191 struct RawByte reserved;
200 struct Lin5_11WordReverse read_temp2;
207 uint8_t telemetryData[184];
212 bool isValidData(
void *
pos, uint8_t size = 2);
226 void print(Print *printer = 0
264 void printTitle(Print *);
265 void printTime(Print *);
266 void printPeaks(Print *);
267 void printFastChannel(uint8_t
index, Print *);
268 void printAllLoops(Print *);
269 void printLoop(uint8_t index, Print *);
270 void printLoopChannel(uint8_t index, Print *);
uint16_t getBinarySize()
Get size of binary data.
class that handles LTC2974 fault logs.
FaultLogLtc2974 * faultLog2974
struct RawByte status_vout
void dumpBinary(Print *printer=0)
Dumps binary of the fault log to a Print inheriting object, or Serial if none specified.
LTC PMBus Support: Implementation for a LTC Controller Fault Log.
uint8_t * getBinary()
Get binary of the fault log or NULL if no log.
struct RawByte status_iout
struct RawByte status_mfr_specific
void release()
Frees the memory reserved for the fault log.
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 FaultLogReadLoopLtc2974 * loops
LT_2974FaultLog(LT_PMBus *pmbus)
Constructor.